Bug 2039784 (CVE-2021-45707) - CVE-2021-45707 rust-nix: unistd::getgrouplist has an out-of-bounds write
Summary: CVE-2021-45707 rust-nix: unistd::getgrouplist has an out-of-bounds write
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-45707
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2039785
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-12 12:49 UTC by Marian Rehak
Modified: 2022-01-12 13:30 UTC (History)
2 users (show)

Fixed In Version: rust-nix 0.22.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-12 13:30:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-01-12 12:49:19 UTC
An issue was discovered in the nix crate 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.

Reference:

https://rustsec.org/advisories/RUSTSEC-2021-0119.html
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nix/RUSTSEC-2021-0119.md

Comment 1 Marian Rehak 2022-01-12 12:49:43 UTC
Created rust-nix tracking bugs for this issue:

Affects: fedora-all [bug 2039785]

Comment 2 Product Security DevOps Team 2022-01-12 13:30:38 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.