CVE-2021-45707

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-45707
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45707.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-45707
Aliases
Related
Published
2021-12-27T00:15:09Z
Modified
2024-09-18T03:17:04.378331Z
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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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"
}

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"
}