{"id":"ALPINE-CVE-2021-3517","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.","modified":"2026-03-09T01:19:47.026826Z","published":"2021-05-19T14:15:07.553Z","upstream":["CVE-2021-3517"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-3517"}],"affected":[{"package":{"name":"libxml2","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.9-r5"}]}],"versions":["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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.10-r5"}]}],"versions":["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.10-r0","2.9.10-r1","2.9.10-r2","2.9.10-r3","2.9.10-r4","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.10-r6"}]}],"versions":["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.10-r0","2.9.10-r1","2.9.10-r2","2.9.10-r3","2.9.10-r4","2.9.10-r5","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.10-r7"}]}],"versions":["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.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.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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}},{"package":{"name":"libxml2","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/libxml2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.11-r0"}]}],"versions":["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.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","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3517.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"}]}