CVE-2009-0642
Estado: ModificadaMedia (6.8)—
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.
CVSS
- Versión: 2.0
- Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P
- Puntuación base: 6.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 2.64%
- Percentil entre todas las CVEs puntuadas: 85
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-287
Referencias
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528
- http://redmine.ruby-lang.org/issues/show/1091
- http://secunia.com/advisories/33750
- http://secunia.com/advisories/35699
- http://secunia.com/advisories/35937
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:193
- http://www.redhat.com/support/errata/RHSA-2009-1140.html
- http://www.securityfocus.com/bid/33769
- http://www.securitytracker.com/id?1022505
- http://www.ubuntu.com/usn/USN-805-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/48761
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528
- http://redmine.ruby-lang.org/issues/show/1091
- http://secunia.com/advisories/33750
- http://secunia.com/advisories/35699
- http://secunia.com/advisories/35937
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:193
- http://www.redhat.com/support/errata/RHSA-2009-1140.html
- http://www.securityfocus.com/bid/33769
- http://www.securitytracker.com/id?1022505
- http://www.ubuntu.com/usn/USN-805-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/48761
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450
JSON original (NVD)
Mostrar
{
"id": "CVE-2009-0642",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"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"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2009-02-20T06:47:48.297",
"references": [
{
"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528",
"source": "cve@mitre.org"
},
{
"url": "http://redmine.ruby-lang.org/issues/show/1091",
"tags": [
"Exploit"
],
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/33750",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/35699",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/35937",
"source": "cve@mitre.org"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:193",
"source": "cve@mitre.org"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2009-1140.html",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/33769",
"source": "cve@mitre.org"
},
{
"url": "http://www.securitytracker.com/id?1022505",
"source": "cve@mitre.org"
},
{
"url": "http://www.ubuntu.com/usn/USN-805-1",
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/48761",
"source": "cve@mitre.org"
},
{
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450",
"source": "cve@mitre.org"
},
{
"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://redmine.ruby-lang.org/issues/show/1091",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/33750",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/35699",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/35937",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:193",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2009-1140.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/33769",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securitytracker.com/id?1022505",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.ubuntu.com/usn/USN-805-1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/48761",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-287"
}
]
}
],
"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."
}
],
"lastModified": "2026-06-16T23:05:28.767",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3EA01D6F-3B61-44EC-A6EA-9E878A0D5B99"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D9237145-35F8-4E05-B730-77C0F386E5B2"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}