Arbitrary Code Injection Affecting nim package, versions *


Severity

Recommended
low

Based on Debian security rating

    Threat Intelligence

    EPSS
    0.42% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN10-NIM-608228
  • published 22 Aug 2020
  • disclosed 14 Aug 2020

How to fix?

There is no fixed version for Debian:10 nim.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nim package and not the nim package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1
Expand this section

NVD

6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None