Bug 1872645 (CVE-2020-15693) - CVE-2020-15693 nim: CR-LF injection in the target URL in standard library httpClient
Summary: CVE-2020-15693 nim: CR-LF injection in the target URL in standard library htt...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-15693
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: 1872647
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-26 09:35 UTC by Marian Rehak
Modified: 2020-08-26 13:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-26 13:17:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2020-08-26 09:35:57 UTC
In Nim 1.2.4, the standard library httpClient is vulnerable to a CR-LF injection in the target URL. An injection is possible if the attacker controls any part of the URL provided in a call (such as httpClient.get or httpClient.post), the User-Agent header value, or custom HTTP header names or values.

Upstream patch:

https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L1023

Comment 1 Marian Rehak 2020-08-26 09:36:15 UTC
Created nim tracking bugs for this issue:

Affects: fedora-all [bug 1872647]

Comment 2 Product Security DevOps Team 2020-08-26 13:17:37 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.