UBUNTU-CVE-2021-45707

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

An issue was discovered in the nix crate 0.16.0 and later before 0.20.2, 0.21.x before 0.21.2, and 0.22.x before 0.22.2 for Rust. unistd::getgrouplist has an out-of-bounds write if a user is in more than 16 /etc/groups groups.

References

Affected packages

Ubuntu:20.04:LTS / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/ubuntu/rust-nix?arch=src?distro=focal

Affected ranges

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

Affected versions

0.*

0.14.1-1
0.15.0-1
0.15.0-2
0.16.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/ubuntu/rust-nix?arch=src?distro=jammy

Affected ranges

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

Affected versions

0.*

0.19.0-1
0.19.0-2
0.23.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/ubuntu/rust-nix?arch=src?distro=oracular

Affected ranges

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

Affected versions

0.*

0.27.1-1build1
0.27.1-3
0.27.1-4
0.27.1-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/ubuntu/rust-nix?arch=src?distro=noble

Affected ranges

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

Affected versions

0.*

0.26.2-1
0.27.1-1
0.27.1-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}