Bug 1934474 (CVE-2021-27515)

Summary: CVE-2021-27515 nodejs-url-parse: mishandling certain uses of backslash may lead to confidentiality compromise
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alazarot, anpicker, anstephe, bdettelb, bmontgom, emingora, eparis, erooth, etirelli, gghezzo, gparvin, ibek, jburrell, jokerman, jramanat, jrokos, jstastny, jweiser, jwendell, kaycoth, krathod, kverlaen, lcosic, mnovotny, nstielau, pjindal, rcernich, rguimara, rrajasek, sponnaga, stcannon, surbania, thee, tomckay, twalsh, tzimanyi, vmugicag
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: url-parse-1.5.0 Doc Type: If docs needed, set a value
Doc Text:
An input validation flaw exists in the node.js-url-parse, which results in the URL being incorrectly set to the document location protocol instead of the URL being passed as an argument. This flaw allows an attacker to bypass security checks on URLs. The highest threat from this vulnerability is to integrity. This is an incomplete fix for CVE-2020-8124.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 14:08:41 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: 1935306, 1935307, 1935308, 1935309, 1935310, 1935311, 1935312, 1935313, 1935314    
Bug Blocks: 1934475    

Description Marian Rehak 2021-03-03 10:30:42 UTC
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.

Reference:

https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0
https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0
https://github.com/unshiftio/url-parse/pull/197

Comment 9 errata-xmlrpc 2021-10-19 12:10:50 UTC
This issue has been addressed in the following products:

  Red Hat Quay 3

Via RHSA-2021:3917 https://access.redhat.com/errata/RHSA-2021:3917

Comment 10 Product Security DevOps Team 2021-10-19 14:08:41 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-27515