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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2823-1, DSA-5011-1
NVD severityhigh
Debian Bugs994016

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
salt (PTS)stretch2016.11.2+ds-1+deb9u4vulnerable
stretch (security)2016.11.2+ds-1+deb9u9fixed
buster2018.3.4+dfsg1-6+deb10u2vulnerable
buster (security)2018.3.4+dfsg1-6+deb10u3fixed
bullseye3002.6+dfsg1-4vulnerable
bullseye (security)3002.6+dfsg1-4+deb11u1fixed
bookworm, sid3004+dfsg1-4fixed

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