UBUNTU-CVE-2021-21374

Source
https://ubuntu.com/security/CVE-2021-21374
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21374.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-21374
Related
Published
2021-03-26T22:15:00Z
Modified
2024-10-15T14:08:00Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / nim

Package

Name
nim
Purl
pkg:deb/ubuntu/nim?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.11.2+dfsg1-4
0.12.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / nim

Package

Name
nim
Purl
pkg:deb/ubuntu/nim?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.17.2-1ubuntu1
0.17.2-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / nim

Package

Name
nim
Purl
pkg:deb/ubuntu/nim?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.20.2-1

1.*

1.0.2-1
1.0.3~rc-1
1.0.4-1
1.0.6-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / nim

Package

Name
nim
Purl
pkg:deb/ubuntu/nim?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.6.14-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / nim

Package

Name
nim
Purl
pkg:deb/ubuntu/nim?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.6.14-1
1.6.14-1ubuntu1
1.6.14-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}