CVE-2017-7376
published 2018-02-19CVE-2017-7376: Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.
PriorityP266critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
23.69%
97.6th percentile
Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.
Affected
26 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | icloud_for_windows | — | — |
| apple | ios | — | — |
| apple | itunes_12.7_for_windows | — | — |
| apple | macos_high_sierra | — | — |
| apple | macos_high_sierra_10.13.1_security_update_2017-001_sierra_and_security_update_20 | — | — |
| apple | tvos | — | — |
| apple | watchos_4 | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | libxml2 | < libxml2 2.9.4+dfsg1-3.1 (bookworm) | libxml2 2.9.4+dfsg1-3.1 (bookworm) |
| android | — | — | |
| android | — | — | |
| android | — | — | |
| android | — | — | |
| android | — | — | |
| android | — | — | |
| android | — | — | |
| android | — | — | |
| android | — | — | |
| xmlsoft | libxml2 | < 2.9.5 | 2.9.5 |
| xmlsoft | libxml2 | >= 0 < 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
| xmlsoft | libxml2 | >= 0 < 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
| xmlsoft | libxml2 | >= 0 < 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
| xmlsoft | libxml2 | >= 0 < 2.9.4+dfsg1-3.1 | 2.9.4+dfsg1-3.1 |
| xmlsoft | libxml2 | >= 0 < 2.9.1+dfsg1-3ubuntu4.10 | 2.9.1+dfsg1-3ubuntu4.10 |
Detection & IOCsextracted from sources · hover to see the quote
- →CVE-2017-7376 is a buffer overflow in libxml2 triggered by an incorrect limit for port values when handling HTTP redirects; monitor for anomalously large port values in redirect URLs processed by libxml2-linked applications ↗
- →Android devices running AOSP versions 4.4.4, 5.0.2, 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, and 7.1.2 are affected with HIGH severity RCE classification; patch status should be verified against the 2017-06-01 Android Security Bulletin ↗
- ·Red Hat Enterprise Linux 5, 6, 7, and 8 packages of libxml2 are all marked 'Not affected'; detection/patching efforts on RHEL platforms for this CVE are not required ↗
- ·Apple advisory pages cross-reference CVE-2017-7376 with unrelated CVEs and components (e.g., CVE-2017-9233, ImageIO, Kernel) across multiple products (iTunes, watchOS, tvOS, macOS); the CVE-to-component mapping in Apple advisories appears inconsistent and should not be used as the sole basis for scoping impact ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
CISA ICS
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
cisa_ics·2023-12-14
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
ICS Advisory
##
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
Release DateDecember 14, 2023
Alert CodeICSA-23-348-10
As of January 10, 2023, CISA will no longer be updating ICS security advisories for Siemens product vulnerabilities beyond the initial advisory. For the most up-to-date information on vulnerabilities in this advisory, please see Siemens' ProductCERT Security Advisories (CERT Services | Services | Siemens Global).
View CSAF
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.8
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
- Vulnerabilities: Improper Restriction of XML External Entity Reference, Time-of-check Time-of-use (TOCTOU) Race Condition, Command Injection, Miss
Apple
CVE-2017-7376: macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
vendor_apple·2017-10-31·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
Apple Security Update: About the security content of macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
Product: macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
CVE: CVE-2017-7376
Component: Kernel
Impact: A malicious application may be able to learn information about the presence and operation of other applications on the device.
Description: An application was able to access process information maintained by the operating system unrestricted. This issue was addressed with rate limiting.
Ubuntu
libxml2 vulnerabilities
vendor_ubuntu·2017-10-10·CVSS 7.8
CVE-2017-0663 [HIGH] libxml2 vulnerabilities
Title: libxml2 vulnerabilities
Summary: Several security issues were fixed in libxml2.
USN-3424-1 fixed several vulnerabilities in libxml2. This update
provides the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
It was discovered that a type confusion error existed in libxml2. An
attacker could use this to specially construct XML data that
could cause a denial of service or possibly execute arbitrary
code. (CVE-2017-0663)
It was discovered that libxml2 did not properly validate parsed entity
references. An attacker could use this to specially construct XML
data that could expose sensitive information. (CVE-2017-7375)
It was discovered that a buffer overflow existed in libxml2 when
handling HTTP redirects. An attacker could use this to specially
construct XML da
Apple
CVE-2017-7376: iCloud for Windows 7.0
vendor_apple·2017-09-25·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: iCloud for Windows 7.0
Apple Security Update: About the security content of iCloud for Windows 7.0
Product: iCloud for Windows
Version: 7.0
CVE: CVE-2017-7376
Component: ImageIO
Impact: Processing a maliciously crafted image may lead to a denial of service
Description: An information disclosure issue existed in the processing of disk images. This issue was addressed through improved memory management.
Apple
CVE-2017-7376: macOS High Sierra 10.13
vendor_apple·2017-09-25·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: macOS High Sierra 10.13
Apple Security Update: About the security content of macOS High Sierra 10.13
Product: macOS High Sierra
Version: 10.13
CVE: CVE-2017-7376
Component: CVE-2017-9233
Impact: Processing maliciously crafted XML may lead to an unexpected application termination or arbitrary code execution
Description: A null pointer dereference was addressed with improved validation.
Ubuntu
libxml2 vulnerabilities
vendor_ubuntu·2017-09-19·CVSS 7.8
CVE-2017-0663 [HIGH] libxml2 vulnerabilities
Title: libxml2 vulnerabilities
Summary: Several security issues were fixed in libxml2.
It was discovered that a type confusion error existed in libxml2. An
attacker could use this to specially construct XML data that
could cause a denial of service or possibly execute arbitrary
code. (CVE-2017-0663)
It was discovered that libxml2 did not properly validate parsed entity
references. An attacker could use this to specially construct XML
data that could expose sensitive information. (CVE-2017-7375)
It was discovered that a buffer overflow existed in libxml2 when
handling HTTP redirects. An attacker could use this to specially
construct XML data that could cause a denial of service or possibly
execute arbitrary code. (CVE-2017-7376)
Marcel Böhme and Van-Thuan Pham discovered a buffer overf
Apple
CVE-2017-7376: watchOS 4
vendor_apple·2017-09-19·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: watchOS 4
Apple Security Update: About the security content of watchOS 4
Product: watchOS 4
CVE: CVE-2017-7376
Component: CVE-2017-9233
Impact: Processing maliciously crafted XML may lead to an unexpected application termination or arbitrary code execution
Description: A use after free issue was addressed with improved memory management.
Apple
CVE-2017-7376: tvOS 11
vendor_apple·2017-09-19·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: tvOS 11
Apple Security Update: About the security content of tvOS 11
Product: tvOS
Version: 11
CVE: CVE-2017-7376
Component: CVE-2017-9233
Impact: Processing maliciously crafted XML may lead to an unexpected application termination or arbitrary code execution
Description: A use after free issue was addressed with improved memory management.
Apple
CVE-2017-7376: iOS 11
vendor_apple·2017-09-19·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: iOS 11
Apple Security Update: About the security content of iOS 11
Product: iOS
Version: 11
CVE: CVE-2017-7376
Component: CVE-2017-9233
Impact: Processing maliciously crafted XML may lead to an unexpected application termination or arbitrary code execution
Description: A buffer overflow issue was addressed with improved memory handling.
Apple
CVE-2017-7376: iTunes 12.7 for Windows
vendor_apple·2017-09-12·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: iTunes 12.7 for Windows
Apple Security Update: About the security content of iTunes 12.7 for Windows
Product: iTunes 12.7 for Windows
CVE: CVE-2017-7376
Component: ImageIO
Impact: Processing a maliciously crafted image may lead to a denial of service
Description: An information disclosure issue existed in the processing of disk images. This issue was addressed through improved memory management.
Android
CVE-2017-7376: Android Security Bulletin 2017-06-01
CVE: CVE-2017-7376
Severity: HIGH
Type: RCE
Affected AOSP versions: 4
vendor_android·2017-06-01·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: Android Security Bulletin 2017-06-01
CVE: CVE-2017-7376
Severity: HIGH
Type: RCE
Affected AOSP versions: 4
Android Security Bulletin 2017-06-01
CVE: CVE-2017-7376
Severity: HIGH
Type: RCE
Affected AOSP versions: 4.4.4, 5.0.2, 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, 7.1.2
References: A-36555370
Red Hat
libxml2: Incorrect limit used for port values
vendor_redhat·2017-04-17·CVSS 9.8
CVE-2017-7376 [CRITICAL] CWE-682 libxml2: Incorrect limit used for port values
libxml2: Incorrect limit used for port values
Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.
Package: libxml2 (Red Hat Enterprise Linux 5) - Not affected
Package: libxml2 (Red Hat Enterprise Linux 6) - Not affected
Package: libxml2 (Red Hat Enterprise Linux 7) - Not affected
Package: libxml2 (Red Hat Enterprise Linux 8) - Not affected
Package: mingw-libxml2 (Red Hat Enterprise Linux 8) - Not affected
Package: mingw-virt-viewer (Red Hat Enterprise Virtualization 3) - Not affected
Package: libxml2 (Red Hat JBoss Core Services) - Not affected
Package: libxml2 (Red Hat JBoss Web Server 3) - Not affected
Debian
CVE-2017-7376: libxml2 - Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by ...
vendor_debian·2017·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: libxml2 - Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by ...
Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.
Scope: local
bookworm: resolved (fixed in 2.9.4+dfsg1-3.1)
bullseye: resolved (fixed in 2.9.4+dfsg1-3.1)
forky: resolved (fixed in 2.9.4+dfsg1-3.1)
sid: resolved (fixed in 2.9.4+dfsg1-3.1)
trixie: resolved (fixed in 2.9.4+dfsg1-3.1)
GHSA
GHSA-j45j-3c7p-vf8f: Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects
ghsa_unreviewed·2022-05-14
CVE-2017-7376 [CRITICAL] CWE-119 GHSA-j45j-3c7p-vf8f: Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects
Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.
OSV
CVE-2017-7376: Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects
osv·2018-02-19·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376: Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects
Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.
OSV
libxml2 vulnerabilities
osv·2017-09-19·CVSS 7.8
CVE-2017-0663 [HIGH] libxml2 vulnerabilities
libxml2 vulnerabilities
It was discovered that a type confusion error existed in libxml2. An
attacker could use this to specially construct XML data that
could cause a denial of service or possibly execute arbitrary
code. (CVE-2017-0663)
It was discovered that libxml2 did not properly validate parsed entity
references. An attacker could use this to specially construct XML
data that could expose sensitive information. (CVE-2017-7375)
It was discovered that a buffer overflow existed in libxml2 when
handling HTTP redirects. An attacker could use this to specially
construct XML data that could cause a denial of service or possibly
execute arbitrary code. (CVE-2017-7376)
Marcel Böhme and Van-Thuan Pham discovered a buffer overflow in
libxml2 when handling elements. An attacker could use thi
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-7376 libxml2: Incorrect limit used for port values
bugzilla·2017-06-16·CVSS 9.8
CVE-2017-7376 [CRITICAL] CVE-2017-7376 libxml2: Incorrect limit used for port values
CVE-2017-7376 libxml2: Incorrect limit used for port values
When calculating port value in xmlParse3986Port function, incorrect limit is used.
Android patch:
https://android.googlesource.com/platform/external/libxml2/+/51e0cb2e5ec18eaf6fb331bc573ff27b743898f4
References:
https://source.android.com/security/bulletin/2017-06-01#libraries
Discussion:
Created libxml2 tracking bugs for this issue:
Affects: fedora-all [bug 1462226]
Created mingw-libxml2 tracking bugs for this issue:
Affects: epel-7 [bug 1462227]
Affects: fedora-all [bug 1462228]
---
The port filtering functionality was introduced in 2.9.4
---
Upstream fixed this slightly differently than different commit than Android did:
https://github.com/GNOME/libxml2/commit/5dca9eea1bd4
Bugzilla
CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 libxml2: various flaws [fedora-all]
bugzilla·2017-06-16·CVSS 7.8
CVE-2017-0663 [HIGH] CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 libxml2: various flaws [fedora-all]
CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 libxml2: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions
Bugzilla
CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 mingw-libxml2: various flaws [fedora-all]
bugzilla·2017-06-16·CVSS 7.8
CVE-2017-0663 [HIGH] CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 mingw-libxml2: various flaws [fedora-all]
CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 mingw-libxml2: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported ve
Bugzilla
CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 mingw-libxml2: various flaws [epel-7]
bugzilla·2017-06-16·CVSS 7.8
CVE-2017-0663 [HIGH] CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 mingw-libxml2: various flaws [epel-7]
CVE-2017-0663 CVE-2017-7375 CVE-2017-7376 mingw-libxml2: various flaws [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the 'fe
http://www.securityfocus.com/bid/98877http://www.securitytracker.com/id/1038623https://android.googlesource.com/platform/external/libxml2/+/51e0cb2e5ec18eaf6fb331bc573ff27b743898f4https://bugzilla.redhat.com/show_bug.cgi?id=1462216https://git.gnome.org/browse/libxml2/commit/?id=5dca9eea1bd4263bfa4d037ab2443de1cd730f7ehttps://source.android.com/security/bulletin/2017-06-01https://www.debian.org/security/2017/dsa-3952http://www.securityfocus.com/bid/98877http://www.securitytracker.com/id/1038623https://android.googlesource.com/platform/external/libxml2/+/51e0cb2e5ec18eaf6fb331bc573ff27b743898f4https://bugzilla.redhat.com/show_bug.cgi?id=1462216https://git.gnome.org/browse/libxml2/commit/?id=5dca9eea1bd4263bfa4d037ab2443de1cd730f7ehttps://source.android.com/security/bulletin/2017-06-01https://www.debian.org/security/2017/dsa-3952
2018-02-19
Published