CVE-2022-29181
CVSS V2 Medium 6.4
CVSS V3 High 8.2
Description
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.
Overview
- CVE ID
- CVE-2022-29181
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-05-20T19:15:08
- Last Modified Date
- 2023-02-16T02:31:15
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* | 1 | OR | 1.13.6 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 6.4
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- HIGH
- Base Score
- 8.2
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 4.2
References
Reference URL | Reference Tags |
---|---|
http://seclists.org/fulldisclosure/2022/Dec/23 | |
https://github.com/sparklemotion/nokogiri/commit/db05ba9a1bd4b90aa6c76742cf6102a7c7297267 | Patch Third Party Advisory |
https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.6 | Release Notes Third Party Advisory |
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xh29-r2w5-wx8m | Issue Tracking Third Party Advisory |
https://security.gentoo.org/glsa/202208-29 | Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2022-031_GHSL-2022-032_Nokogiri/ | Exploit Third Party Advisory |
https://support.apple.com/kb/HT213532 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-29181 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29181 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-20 20:00:19 | Added to TrackCVE | |||
2022-12-13 21:13:40 | 2022-12-13T20:15:10 | CVE Modified Date | updated | |
2022-12-13 21:13:40 | Analyzed | Modified | Vulnerability Status | updated |
2022-12-13 21:13:42 | References | updated | ||
2022-12-19 18:15:04 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2022-12-21 07:01:21 | 2022-12-21T06:15:09 | CVE Modified Date | updated | |
2022-12-21 07:01:21 | Weakness Enumeration | update | ||
2022-12-21 07:01:22 | References | updated | ||
2023-02-16 03:15:54 | 2023-02-16T02:31:15 | CVE Modified Date | updated | |
2023-02-16 03:15:54 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |