Vulnerability in Apple macOS
CVE-2022-29181
Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure the untrusted input is a `String` by calling `#to_s` or equivalent.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS: 0.032 (88.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 88.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000
Affected products
- Apple macOS
- Nokogiri
- Sparklemotion Nokogiri — versions < 1.13.6
Weakness classification (CWE)
References
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-xh29-r2w5-wx8m (Third Party Advisory, Issue Tracking)
- github.com/sparklemotion/nokogiri/commit/83cc451c3f29df397caa890afc3b714eae6ab8…
- github.com/sparklemotion/nokogiri/commit/db05ba9a1bd4b90aa6c76742cf6102a7c72972… (Patch, Third Party Advisory)
- github.com/sparklemotion/nokogiri/releases/tag/v1.13.6 (Third Party Advisory, Release Notes)
- securitylab.github.com/advisories/GHSL-2022-031_GHSL-2022-032_Nokogiri
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Exploit, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29181?
- CVE-2022-29181 is a high-severity vulnerability in Apple macOS, classified under CWE-241. CVSS score: 8.2/10. Published 2022-05-20.
- How severe is CVE-2022-29181?
- High severity. CVSS v3 base score is 8.2 out of 10.