Bug 2080830 (CVE-2022-21144)

Summary: CVE-2022-21144 libxmljs: libxmljs V8 parseXml buffer overflow
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: extras-orphan, nodejs-sig, tchollingsworth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-02 10:45:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2080831    
Bug Blocks:    

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.