CVE-2021-21374

Nimble fails to validate certificates due to insecure httpClient defaults

Published Mar 26, 2021 CVSS 3.1 · 8.1 High EPSS 1.0% KEV · Not listed
Description
Nimble is a package manager for the Nim programming language. In Nim release versions before versions 1.2.10 and 1.4.4, "nimble refresh" fetches a list of Nimble packages over HTTPS without full verification of the SSL/TLS certificate due to the default setting of httpClient. An attacker able to perform MitM can deliver a modified package list containing malicious software packages. If the packages are installed and used the attack escalates to untrusted code execution.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-8684 Nimble is a package manager for the Nim programming language. In Nim release versions before versions 1.2.10 and 1.4.4, "nimble refresh" fetches a list of Nimble packages over HTTPS without full verification of the SSL/TLS certificate due to the default setting of httpClient. An attacker able to perform MitM can deliver a modified package list containing malicious software packages. If the packages are installed and used the attack escalates to untrusted code execution.
History

No history.

Weaknesses
  • CWE-295

    Improper Certificate Validation

  • CWE-348

    Use of Less Trusted Source

  • CWE-349

    Acceptance of Extraneous Untrusted Data With Trusted Data

  • CWE-599

    Missing Validation of OpenSSL Certificate

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 6:09 PM
Reserved
Dec 22, 2020, 12:00 AM
Status
Modified
Published
Mar 26, 2021, 10:15 PM
Modified
Jun 17, 2026, 3:35 AM