{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-docs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-irb", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-mode", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-rdoc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-ri", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-tcltk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2009-0642.html"}], "descriptions": [{"lang": "en", "value": "ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_basic_verify function, which might allow remote attackers to successfully present an invalid X.509 certificate, possibly involving a revoked certificate."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2009-07-02T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.0, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-docs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-irb", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-mode", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-rdoc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-ri", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-tcltk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_3.7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2009:1140"}, {"url": "https://access.redhat.com/security/cve/CVE-2009-0642"}], "descriptions": [{"lang": "en", "value": "Ruby is an extensible, interpreted, object-oriented, scripting language. It\nhas features to process text files and to do system management tasks.\n\nA flaw was found in the way the Ruby POP module processed certain APOP\nauthentication requests. By sending certain responses when the Ruby APOP\nmodule attempted to authenticate using APOP against a POP server, a remote\nattacker could, potentially, acquire certain portions of a user's\nauthentication credentials. (CVE-2007-1558)\n\nIt was discovered that Ruby did not properly check the return value when\nverifying X.509 certificates. This could, potentially, allow a remote\nattacker to present an invalid X.509 certificate, and have Ruby treat it as\nvalid. (CVE-2009-0642)\n\nA flaw was found in the way Ruby converted BigDecimal objects to Float\nnumbers. If an attacker were able to provide certain input for the\nBigDecimal object converter, they could crash an application using this\nclass. (CVE-2009-1904)\n\nAll Ruby users should upgrade to these updated packages, which contain\nbackported patches to resolve these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2009-01-29T00:00:00Z", "x_subShortName": "redhat_5"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "suse", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p72-5.22.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-doc-html", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p72-5.22.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-tk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p72-5.22.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p72-5.24.2", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-doc-html", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p72-5.24.2", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-tk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p72-5.24.2", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.7.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-doc-html", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.7.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-tk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.7.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.9.9.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp3"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-doc-html", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.9.9.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp3"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-tk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.9.9.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp3"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.9.17.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp4"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-doc-html", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.9.17.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp4"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-tk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.7.p357-0.9.17.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp4"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 478019"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0642", "name": "Mitre CVE-2009-0642"}, {"url": "https://www.suse.com/security/cve/CVE-2009-0642", "name": "SUSE CVE-2009-0642"}, {"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/YEWPUV6Q5IYI67FWCYLZIHRZ6OVKLOCI/#YEWPUV6Q5IYI67FWCYLZIHRZ6OVKLOCI", "name": "SUSE-SA:2009:037"}], "descriptions": [{"lang": "en", "value": "\n    ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_basic_verify function, which might allow remote attackers to successfully present an invalid X.509 certificate, possibly involving a revoked certificate.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_server_11"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 6.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:ruby-lang:ruby:1.8:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*"], "vendor": "ruby-lang", "product": "ruby", "versions": [{"status": "affected", "version": "1.8"}, {"status": "affected", "version": "1.9"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://redmine.ruby-lang.org/issues/show/1091", "tags": ["exploit"]}, {"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528"}, {"url": "http://secunia.com/advisories/33750"}, {"url": "http://secunia.com/advisories/35699"}, {"url": "http://secunia.com/advisories/35937"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:193"}, {"url": "http://www.redhat.com/support/errata/RHSA-2009-1140.html"}, {"url": "http://www.securityfocus.com/bid/33769"}, {"url": "http://www.securitytracker.com/id?1022505"}, {"url": "http://www.ubuntu.com/usn/USN-805-1"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/48761"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450"}], "descriptions": [{"lang": "en", "value": "ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_basic_verify function, which might allow remote attackers to successfully present an invalid X.509 certificate, possibly involving a revoked certificate."}, {"lang": "es", "value": "ext/openssl/ossl_ocsp.c en Ruby v1.8 y v1.9 no comprueba adecuadamente el valor de retorno de la funcion OCSP_basic_verify, lo cual permitiria a atacantes remotos tener exito en la presentacion de un certificado X.509 invalido, posiblemente utilizando un certificado revocado."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-287", "description": "CWE-287"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2009-02-20T06:47:48Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2009-0642", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2009-02-20T06:47:48Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}