DEBIAN-CVE-2021-45707

Source
https://security-tracker.debian.org/tracker/CVE-2021-45707
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45707.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2021-45707
Upstream
Published
2021-12-27T00:15:09.940Z
Modified
2025-11-20T10:15:14.013828Z
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

Debian:11 / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/debian/rust-nix?arch=source

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.0-1
0.23.1-1
0.24.1-1
0.24.1-2
0.24.1-3
0.25.0-1
0.26.1-1
0.26.1-2
0.26.1-3
0.26.2-1
0.26.2-2
0.26.2-3
0.27.1-1
0.27.1-2
0.27.1-3
0.27.1-3+hurd.1
0.27.1-4
0.27.1-4+hurd.1
0.27.1-5
0.29.0-1
0.29.0-2
0.30.1-1
0.30.1-2
0.30.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45707.json"

Debian:12 / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/debian/rust-nix?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.23.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45707.json"

Debian:13 / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/debian/rust-nix?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.23.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45707.json"

Debian:14 / rust-nix

Package

Name
rust-nix
Purl
pkg:deb/debian/rust-nix?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.23.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45707.json"