Search for vulnerabilities
Vulnerability details: VCID-46k1-2uqz-aaab
Vulnerability ID VCID-46k1-2uqz-aaab
Aliases CVE-2017-9047
Summary Improper Restriction of Operations within the Bounds of a Memory Buffer A buffer overflow was discovered in libxml2 . The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. The variable len is assigned strlen(buf). If the content->type is XML_ELEMENT_CONTENT_ELEMENT, then (i) the content->prefix is appended to buf (if it actually fits) whereupon (ii) content->name is written to the buffer. However, the check for whether the content->name actually fits also uses 'len' rather than the updated buffer length strlen(buf). This allows us to write about "size" many bytes beyond the allocated memory. This vulnerability causes programs that use libxml2, such as PHP, to crash.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-9047.html
rhas Important https://access.redhat.com/errata/RHSA-2018:2486
cvssv3 7.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9047.json
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00289 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00399 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00399 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00399 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00399 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00551 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00551 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00551 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00561 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00561 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00561 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00561 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00561 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00561 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00561 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00599 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00601 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.00652 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.01028 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.01533 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.02501 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.02691 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.02691 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.02691 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.02691 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.03114 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.03382 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.03382 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.03382 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.03382 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.03382 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
epss 0.03382 https://api.first.org/data/v1/epss?cve=CVE-2017-9047
rhbs medium https://bugzilla.redhat.com/show_bug.cgi?id=1452554
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0663
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7375
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7376
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9047
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9048
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9049
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9050
cvssv2 5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3 5.3 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1 8.8 https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
generic_textual HIGH https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
cvssv3.1 8.8 https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
generic_textual HIGH https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2017-9047
cvssv3 7.5 https://nvd.nist.gov/vuln/detail/CVE-2017-9047
cvssv3.1 7.5 https://security.gentoo.org/glsa/201711-01
generic_textual HIGH https://security.gentoo.org/glsa/201711-01
generic_textual Medium https://ubuntu.com/security/notices/USN-3424-1
generic_textual Medium https://ubuntu.com/security/notices/USN-3424-2
cvssv3.1 7.5 http://www.debian.org/security/2017/dsa-3952
generic_textual HIGH http://www.debian.org/security/2017/dsa-3952
cvssv3.1 7.5 http://www.openwall.com/lists/oss-security/2017/05/15/1
generic_textual HIGH http://www.openwall.com/lists/oss-security/2017/05/15/1
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-9047.html
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9047.json
https://api.first.org/data/v1/epss?cve=CVE-2017-9047
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0663
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7375
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7376
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9047
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9048
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9049
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9050
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
https://security.gentoo.org/glsa/201711-01
https://ubuntu.com/security/notices/USN-3424-1
https://ubuntu.com/security/notices/USN-3424-2
http://www.debian.org/security/2017/dsa-3952
http://www.openwall.com/lists/oss-security/2017/05/15/1
http://www.securityfocus.com/bid/98599
1452554 https://bugzilla.redhat.com/show_bug.cgi?id=1452554
863022 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863022
cpe:2.3:a:xmlsoft:libxml2:2.9.4:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:xmlsoft:libxml2:2.9.4:*:*:*:*:*:*:*
CVE-2017-9047 https://nvd.nist.gov/vuln/detail/CVE-2017-9047
RHSA-2018:2486 https://access.redhat.com/errata/RHSA-2018:2486
USN-3424-1 https://usn.ubuntu.com/3424-1/
USN-3424-2 https://usn.ubuntu.com/3424-2/
No exploits are available.
Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9047.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2017-9047
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2017-9047
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://security.gentoo.org/glsa/201711-01
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at http://www.debian.org/security/2017/dsa-3952
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at http://www.openwall.com/lists/oss-security/2017/05/15/1
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.69489
EPSS Score 0.00289
Published At Nov. 1, 2024, midnight
Date Actor Action Source VulnerableCode Version
There are no relevant records.