CVE-2021-3517

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3517
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3517.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3517
Aliases
Related
Published
2021-05-19T14:15:07Z
Modified
2024-12-05T15:28:22.811826Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
[none]
Details

There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.

References

Affected packages

Alpine:v3.10 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.9-r5

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.9-r4

Alpine:v3.11 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10-r5

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4

Alpine:v3.12 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10-r6

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5

Alpine:v3.13 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10-r7

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6

Alpine:v3.14 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Alpine:v3.15 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Alpine:v3.16 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Alpine:v3.17 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Alpine:v3.18 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Alpine:v3.19 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Alpine:v3.20 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Alpine:v3.21 / libxml2

Package

Name
libxml2
Purl
pkg:apk/alpine/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-r0

Affected versions

2.*

2.7.2-r0
2.7.3-r0
2.7.6-r0
2.7.6-r1
2.7.6-r2
2.7.6-r3
2.7.7-r0
2.7.7-r1
2.7.7-r2
2.7.7-r3
2.7.7-r4
2.7.8-r0
2.7.8-r1
2.7.8-r2
2.7.8-r4
2.7.8-r5
2.7.8-r6
2.7.8-r7
2.7.8-r8
2.8.0-r0
2.8.0-r1
2.9.0-r0
2.9.0-r1
2.9.0-r2
2.9.0-r3
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.9.2-r0
2.9.2-r1
2.9.2-r2
2.9.3-r0
2.9.4-r0
2.9.4-r1
2.9.4-r2
2.9.4-r3
2.9.4-r4
2.9.5-r0
2.9.6-r0
2.9.6-r2
2.9.7-r0
2.9.7-r1
2.9.8-r0
2.9.8-r1
2.9.8-r2
2.9.9-r0
2.9.9-r1
2.9.9-r2
2.9.9-r3
2.9.10-r0
2.9.10-r1
2.9.10-r2
2.9.10-r3
2.9.10-r4
2.9.10-r5
2.9.10-r6
2.9.10-r7

Debian:11 / libxml2

Package

Name
libxml2
Purl
pkg:deb/debian/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10+dfsg-6.6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libxml2

Package

Name
libxml2
Purl
pkg:deb/debian/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10+dfsg-6.6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libxml2

Package

Name
libxml2
Purl
pkg:deb/debian/libxml2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10+dfsg-6.6

Ecosystem specific

{
    "urgency": "not yet assigned"
}