Bug 2080830 (CVE-2022-21144) - CVE-2022-21144 libxmljs: libxmljs V8 parseXml buffer overflow
Summary: CVE-2022-21144 libxmljs: libxmljs V8 parseXml buffer overflow
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-21144
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2080831
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-02 06:16 UTC by Avinash Hanwate
Modified: 2022-05-02 10:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-05-02 10:45:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2022-05-02 06:16:52 UTC
This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.

https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756
https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d
https://github.com/libxmljs/libxmljs/pull/594

Comment 1 Avinash Hanwate 2022-05-02 06:17:10 UTC
Created nodejs-libxmljs tracking bugs for this issue:

Affects: epel-all [bug 2080831]

Comment 2 Product Security DevOps Team 2022-05-02 10:45:13 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.