CVE-2021-3518

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

There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability.

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"
}