CVE-2022-40304
HIGHCVSS 7.8/10EPSS 6.78%
Last modified
CVE-2022-40304 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. EPSS estimates a 6.78% chance of exploitation in the next 30 days.
Description
An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xmlsoft | Libxml2 | < 2.10.3 |
| Netapp | Active Iq Unified Manager | All versions |
| Netapp | Clustered Data Ontap | All versions |
| Netapp | Clustered Data Ontap Antivirus Connector | All versions |
| Netapp | Manageability Software Development Kit | All versions |
| Netapp | Smi-S Provider | All versions |
| Netapp | Snapmanager | All versions |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | H410c Firmware | All versions |
| Apple | Ipados | < 15.7.2 |
| Apple | Iphone Os | < 15.7.2 |
| Apple | Macos | >= 11.0, < 11.7.2 |
| Apple | Macos | >= 12.0, < 12.6.2 |
| Apple | Tvos | < 16.2 |
| Apple | Watchos | < 9.2 |
References
- http://seclists.org/fulldisclosure/2022/Dec/21Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/24Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/25Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/26Mailing List, Third Party Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80bPatch, Third Party Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/tagsRelease Notes, Third Party Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3Patch, Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221209-0003/Third Party Advisory
- https://support.apple.com/kb/HT213531Third Party Advisory
- https://support.apple.com/kb/HT213533Third Party Advisory
- https://support.apple.com/kb/HT213534Third Party Advisory
- https://support.apple.com/kb/HT213535Third Party Advisory
- https://support.apple.com/kb/HT213536Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/21Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/24Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/25Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/26Mailing List, Third Party Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80bPatch, Third Party Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/tagsRelease Notes, Third Party Advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3Patch, Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221209-0003/Third Party Advisory
- https://support.apple.com/kb/HT213531Third Party Advisory
- https://support.apple.com/kb/HT213533Third Party Advisory
- https://support.apple.com/kb/HT213534Third Party Advisory
- https://support.apple.com/kb/HT213535Third Party Advisory
- https://support.apple.com/kb/HT213536Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40304?
An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.
How severe is CVE-2022-40304?
CVE-2022-40304 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 6.78% probability of exploitation in the next 30 days.
How do I fix CVE-2022-40304?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-40298Crestron AirMedia for Windows before 5.5.1.84 has insecure i…8.8
- CVE-2022-40299In Singular before 4.3.1, a predictable /tmp pathname is use…7.8
- CVE-2022-4030The Simple:Press plugin for WordPress is vulnerable to Path …8.1
- CVE-2022-40300Zoho ManageEngine Password Manager Pro through 12120 before …9.8
- CVE-2022-40302An issue was discovered in bgpd in FRRouting (FRR) through 8…6.5
- CVE-2022-40303An issue was discovered in libxml2 before 2.10.3. When parsi…7.5
- CVE-2022-40305A Server-Side Request Forgery issue in Canto Cumulus through…9.8
- CVE-2022-40306The login form /Login in ECi Printanista Hub (formerly FMAud…5.9
- CVE-2022-40307An issue was discovered in the Linux kernel through 5.19.8. …4.7
- CVE-2022-40308If anonymous read enabled, it's possible to read the databas…7.5
- CVE-2022-40309Users with write permissions to a repository can delete arbi…4.3
- CVE-2022-4031The Simple:Press plugin for WordPress is vulnerable to arbit…4.9
Are you affected by CVE-2022-40304?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
