Vulnérabilités / CVE-2021-3148

critique

CVE-2021-3148

salt: Command injection in salt.utils.thin.gen_thin()

Publiée Modifiée CWE 77
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.8CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Photon OS. Plus basse selon Red Hat (moyenne), Ubuntu (moyenne).

Description

An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
Photon OS 1.0salt, salt32019.2.4-2.ph1
Photon OS 3.0salt32019.2.8-3.ph3
Photon OS 4.0salt3, salt3-api, salt3-cloud et 6 autres3003-1.ph4
pip::GitHub Security Advisory pipsalt2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8, 3000.7, 3001.5, 3002.3
alpine 3.13salt3002.5-r0
debian 10salt2018.3.4+dfsg1-6+deb10u3
debian 9salt2016.11.2+ds-1+deb9u7
Red Hatsalt, salt-minionpas de correctif indiqué
ubuntu 18.04-ESMsalt2017.7.4+dfsg1-1ubuntu18.04.2+esm1
Afficher les 19 entrées de 9 sources
SourcePaquetCorrigé en
Photon OS 1.0salt2019.2.4-2.ph1
Photon OS 1.0salt32019.2.4-2.ph1
Photon OS 3.0salt32019.2.8-3.ph3
Photon OS 4.0salt33003-1.ph4
Photon OS 4.0salt3-api3003-1.ph4
Photon OS 4.0salt3-cloud3003-1.ph4
Photon OS 4.0salt3-master3003-1.ph4
Photon OS 4.0salt3-minion3003-1.ph4
Photon OS 4.0salt3-proxy3003-1.ph4
Photon OS 4.0salt3-spm3003-1.ph4
Photon OS 4.0salt3-ssh3003-1.ph4
Photon OS 4.0salt3-syndic3003-1.ph4
pip::GitHub Security Advisory pipsalt2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8, 3000.7, 3001.5, 3002.3
alpine 3.13salt3002.5-r0
debian 10salt2018.3.4+dfsg1-6+deb10u3
debian 9salt2016.11.2+ds-1+deb9u7
Red Hatsaltpas de correctif indiqué
Red Hatsalt-minionpas de correctif indiqué
ubuntu 18.04-ESMsalt2017.7.4+dfsg1-1ubuntu18.04.2+esm1

Références

Les 23 références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.