CVE-2020-14342
What it is
It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password, which could be used to inject arbitrary commands. An attacker able to invoke mount.cifs with special permission, such as via sudo rules, could use this flaw to escalate their privileges.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. Limited direct impact.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-77 · Command injection
- Record status
- Modified
Affected
- Samba cifs-utils ≤ 6.10
- Fedoraproject Fedora 32
- Fedoraproject Fedora 33
- Opensuse Leap 15.1
Attack profile CVSS 3.1 · 4.4
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2020-14342.md and follow it. Check whether this project is affected by CVE-2020-14342. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14342
- https://lists.samba.org/archive/samba-technical/2020-September/135747.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14342
- https://lists.samba.org/archive/samba-technical/2020-September/135747.html
References
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00109.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14342
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DUMRICFXJVCBBOSKZSKT3HFVQM6VPJU3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBNFSTJOQWVPFZAUJNNMAPY45PW5RTTE/
- https://lists.samba.org/archive/samba-technical/2020-September/135747.html
- https://security.gentoo.org/glsa/202009-16
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00109.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14342
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DUMRICFXJVCBBOSKZSKT3HFVQM6VPJU3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBNFSTJOQWVPFZAUJNNMAPY45PW5RTTE/
- https://lists.samba.org/archive/samba-technical/2020-September/135747.html
- https://security.gentoo.org/glsa/202009-16