CVE-2021-21996

NameCVE-2021-21996
DescriptionAn issue was discovered in SaltStack Salt before 3003.3. A user who has control of the source, and source_hash URLs can gain full file system access as root on a salt minion.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2823-1, DSA-5011-1
Debian Bugs994016

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
salt (PTS)buster, buster (security)2018.3.4+dfsg1-6+deb10u3fixed
bullseye (security), bullseye3002.6+dfsg1-4+deb11u1fixed
sid3004.1+dfsg-2.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
saltsourcestretch2016.11.2+ds-1+deb9u8DLA-2823-1
saltsourcebuster2018.3.4+dfsg1-6+deb10u3DSA-5011-1
saltsourcebullseye3002.6+dfsg1-4+deb11u1DSA-5011-1
saltsource(unstable)3002.7+dfsg1-1994016

Notes

https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/
Fixed by https://github.com/saltstack/salt/commit/0b75ba190fda9c04cc026ad1aa4a6d572f40349b
https://github.com/openSUSE/salt/commit/57ed9c41a177f57e3d56465662750617ac36cc95

Search for package or bug name: Reporting problems