CVE-2022-43680
Vulnerability Summary
Timeline
Description
In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 2.44%• Percentile: 84%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- alpine•expat
< 2.2.10-r8 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0 | < 2.5.0-r0
- chainguard•expat
< 0
- wolfi•expat
< 0
- debian•expat
< 2.2.10-2+deb11u5 | < 2.5.0-1 | < 2.5.0-1 | < 2.5.0-1
- debian•libxmltok
all | all
- debian•debian_linux
10.0 | 11.0
- fedoraproject•fedora
35 | 36 | 37
- libexpat_project•libexpat
≤ 2.4.9
- netapp•active_iq_unified_manager
na
- netapp•h300s_firmware
na
- netapp•h410c_firmware
na
- netapp•h410s_firmware
na
- netapp•h500s_firmware
na
- netapp•h700s_firmware
na
- netapp•hci_compute_node
na
- netapp•oncommand_workflow_automation
na
- netapp•solidfire_\&_hci_management_node
na
- redhat•expat
< 0:2.2.5-10.el8_7.1 | < 0:2.4.9-1.el9_1.1 | < 0:2.2.5-8.el8_6.4
- redhat•expat-debuginfo
< 0:2.2.5-10.el8_7.1 | < 0:2.4.9-1.el9_1.1 | < 0:2.4.9-1.el9_1.1 | < 0:2.2.5-8.el8_6.4
- redhat•expat-debugsource
< 0:2.2.5-10.el8_7.1 | < 0:2.4.9-1.el9_1.1 | < 0:2.4.9-1.el9_1.1 | < 0:2.2.5-8.el8_6.4
- redhat•expat-devel
< 0:2.2.5-10.el8_7.1 | < 0:2.4.9-1.el9_1.1 | < 0:2.2.5-8.el8_6.4
References (29)
- https://github.com/libexpat/libexpat/pull/650
- https://github.com/libexpat/libexpat/issues/649
- https://github.com/libexpat/libexpat/pull/616
- https://lists.debian.org/debian-lts-announce/2022/10/msg00033.html
- https://www.debian.org/security/2022/dsa-5266
- https://security.gentoo.org/glsa/202210-38
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BY4OPSIB33ETNUXZY2UPZ4NGQ3OKDY4D/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AJ5VY2VYXE4WTRGQ6LMGLF6FV3SY37YE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUJ2BULJTZ2BMSKQHB6US674P55UCWWS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5XOOB7CD55CEE6OJYKSACSIMQ4RWQ6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPQVIF6TOJNY2T3ZZETFKR4G34FFREBQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFCOMBSOJKLIKCGCJWHLJXO4EVYBG7AR/
- https://security.netapp.com/advisory/ntap-20221118-0007/
- http://www.openwall.com/lists/oss-security/2023/12/28/5
- http://www.openwall.com/lists/oss-security/2024/01/03/5
- https://access.redhat.com/errata/RHSA-2023:0103
- https://access.redhat.com/security/updates/classification/#moderate
- https://bugzilla.redhat.com/show_bug.cgi?id=2140059
- https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0103.json
- https://access.redhat.com/security/cve/CVE-2022-43680
- https://www.cve.org/CVERecord?id=CVE-2022-43680
- https://nvd.nist.gov/vuln/detail/CVE-2022-43680
- https://access.redhat.com/errata/RHSA-2023:0337
- https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0337.json
- https://access.redhat.com/errata/RHSA-2024:0421
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_0421.json
- https://security-tracker.debian.org/tracker/CVE-2022-43680
- https://security.alpinelinux.org/vuln/CVE-2022-43680
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43680.json