Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

n/a · Vulnerability

cve-program · severity unknowneuvd · severity unknownCVSS 3.1 · [email protected] · Primary 9.8 CRITICALCVSS 2.0 · [email protected] · Primary 7.5 HIGHCVSS_V3 Publisher rating MODERATEFixed by nix 0.20.2Fixed by nix 0.21.2Fixed by nix 0.22.2Publisher rating HIGHFixed by nix 0.20.2Fixed by nix 0.21.2Fixed by nix 0.22.2osv · severity unknownFixed by nix 0.20.2Fixed by nix 0.21.2Fixed by nix 0.22.2Fixed by nix 0.23.0KEV status unknown

cve-program · CVE-2021-45707

Published

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.

Read the publisher's advisory

euvd · EUVD-2022-0497

Published

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.

Read the publisher's advisory

nvd · CVE-2021-45707

Published

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.

Read the publisher's advisory

osv · GHSA-76w9-p8mg-j927

Published

On certain platforms, if a user has more than 16 groups, the nix::unistd::getgrouplist function will call the libc getgrouplist function with a length parameter greater than the size of the buffer it provides, resulting in an out-of-bounds write and memory corruption. The libc getgrouplist function takes an in/out parameter ngroups specifying the size of the group buffer. When the buffer is too small to hold all of the requested user's group memberships, some libc implementations, including glibc and Solaris libc, will modify ngroups to indicate the actual number of groups for the user, in addition to returning an error. The version of nix::unistd::getgrouplist in nix 0.16.0 and up will resize the buffer to twice its size, but will not read or modify the ngroups variable. Thus, if the user has more than twice as many groups as the initial buffer size of 8, the next call to getgrouplist will then write past the end of the buffer. The issue would require editing /etc/groups to exploit, which is usually only editable by the root user.

Read the publisher's advisory

osv · GHSA-wgrg-5h56-jg27

Published

On certain platforms, if a user has more than 16 groups, the `nix::unistd::getgrouplist` function will call the libc `getgrouplist` function with a length parameter greater than the size of the buffer it provides, resulting in an out-of-bounds write and memory corruption. The libc `getgrouplist` function takes an in/out parameter `ngroups` specifying the size of the group buffer. When the buffer is too small to hold all of the reqested user's group memberships, some libc implementations, including glibc and Solaris libc, will modify `ngroups` to indicate the actual number of groups for the user, in addition to returning an error. The version of `nix::unistd::getgrouplist` in nix 0.16.0 and up will resize the buffer to twice its size, but will not read or modify the `ngroups` variable. Thus, if the user has more than twice as many groups as the initial buffer size of 8, the next call to `getgrouplist` will then write past the end of the buffer. The issue would require editing /etc/groups to exploit, which is usually only editable by the root user.

Read the publisher's advisory

osv · RUSTSEC-2021-0119

Published

On certain platforms, if a user has more than 16 groups, the `nix::unistd::getgrouplist` function will call the libc `getgrouplist` function with a length parameter greater than the size of the buffer it provides, resulting in an out-of-bounds write and memory corruption. The libc `getgrouplist` function takes an in/out parameter `ngroups` specifying the size of the group buffer. When the buffer is too small to hold all of the requested user's group memberships, some libc implementations, including glibc and Solaris libc, will modify `ngroups` to indicate the actual number of groups for the user, in addition to returning an error. The version of `nix::unistd::getgrouplist` in nix 0.16.0 and up will resize the buffer to twice its size, but will not read or modify the `ngroups` variable. Thus, if the user has more than twice as many groups as the initial buffer size of 8, the next call to `getgrouplist` will then write past the end of the buffer. The issue would require editing /etc/groups to exploit, which is usually only editable by the root user.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-45707

Published

n/a

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2022-0497

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Dec 26, 2021, 9:48:02 PM

dateUpdated: Aug 4, 2024, 4:47:02 AM

1 related source bulletins · separate from aliases

msrc_CVE-2021-45707: 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.

CVE-2021-45707

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2021-45707

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-787

Original publisher date fields

published: 2021-12-27T00:15:09.940

lastModified: 2026-06-17T04:13:59.380

1 source CPE criteria · context only
  • cpe:2.3:a:nix_project:nix:*:*:*:*:*:rust:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-76w9-p8mg-j927

Published

nix

crates.io

SEMVER · introduced 0.16.0 → fixed 0.20.2

nix

crates.io

SEMVER · introduced 0.21.0 → fixed 0.21.2

nix

crates.io

SEMVER · introduced 0.22.0 → fixed 0.22.2

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-wgrg-5h56-jg27

Published

nix

crates.io

SEMVER · introduced 0.16.0 → fixed 0.20.2

nix

crates.io

SEMVER · introduced 0.21.0 → fixed 0.21.2

nix

crates.io

SEMVER · introduced 0.22.0 → fixed 0.22.2

Original source record · Cite this exact observation · Complete original publisher JSON

osv · RUSTSEC-2021-0119

Published

nix

crates.io

SEMVER · introduced 0.16.0 → fixed 0.20.2 → introduced 0.21.0-0 → fixed 0.21.2 → introduced 0.22.0-0 → fixed 0.22.2 → introduced 0.23.0-0 → fixed 0.23.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 04:49 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current