CVE-2009-0642
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.6% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 2.6% · EPSS, next 30 days
- Weakness
- CWE-287 · Improper authentication
- Record status
- Modified
Affected
- ruby-lang Ruby 1.8
- ruby-lang Ruby 1.9
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-0642.md and follow it. Check whether this project is affected by CVE-2009-0642. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- 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