Improper Input Validation Affecting nim package, versions *


Severity

Recommended
low

Based on Debian security rating

    Threat Intelligence

    EPSS
    0.22% (60th 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-608226
  • 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 fails to properly validate the server response. For example, httpClient.get().contentLength() does not raise any error if a malicious server provides a negative Content-Length.

CVSS Scores

version 3.1
Expand this section

NVD

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