9.8crit

CVE-2016-4658

Nokogiri does not forbid namespace nodes in XPointer ranges

Also known as GHSA-fr52-4hqw-p27f

Published 10 y ago · modified 24 d ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
8.6%
percentile 95%
Public exploits
0
none known

Summary

xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3, and other products) does not forbid namespace nodes in XPointer ranges, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and memory corruption) via a crafted XML document.

Exploit prediction (EPSS)

8.56% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.010.0AV:N/AC:L/Au:N/C:C/I:C/A:C
GitHub3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
rubygemsnokogiri
<1.7.1
1.7.1

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • support.apple.com /HT207141 · x_refsource_CONFIRM, x_transferred
  • securitytracker.com /id/1036858 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • lists.apple.com /archives/security-announce/2016/Sep/msg00006.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • lists.apple.com /archives/security-announce/2016/Sep/msg00008.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • lists.apple.com /archives/security-announce/2016/Sep/msg00010.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • lists.apple.com /archives/security-announce/2016/Sep/msg00011.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • securityfocus.com /bid/93054 · vdb-entry, x_refsource_BID, x_transferred
  • support.apple.com /HT207170 · x_refsource_CONFIRM, x_transferred
  • security.gentoo.org /glsa/201701-37 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • support.apple.com /HT207142 · x_refsource_CONFIRM, x_transferred
  • support.apple.com /HT207143 · x_refsource_CONFIRM, x_transferred
  • securitytracker.com /id/1038623 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • git.gnome.org /browse/libxml2/commit/?id=c1d1f7121194036608bf555f08d3062a36fd344b · x_refsource_CONFIRM, x_transferred
  • cert-portal.siemens.com /productcert/html/ssa-398330.html
  • nvd.nist.gov /vuln/detail/CVE-2016-4658 · advisory

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.