Vulnerability identifier: #VU45740
Vulnerability risk: Medium
CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-93
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
nim
Universal components / Libraries /
Programming Languages & Components
Vendor: nim-lang.org
Description
The vulnerability allows a remote attacker to inject arbitrary data in server response.
The vulnerability exists due to insufficient validation of attacker-supplied data when processing URL in the standard library httpClient. A remote attacker can pass a specially crafted URL to the application and changes values of headers via CR-LF characters when processed with httpClient.get or httpClient.post methods.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
nim: 1.2.4
External links
http://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L1023
http://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.