CVE-2020-1740
CVSS V2 Low 1.9
CVSS V3 Medium 4.7
Description
A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
Overview
- CVE ID
- CVE-2020-1740
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-03-16T16:15:14
- Last Modified Date
- 2022-04-05T15:01:55
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* | 1 | OR | 2.7.17 | |
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* | 1 | OR | 2.8.0 | 2.8.11 |
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* | 1 | OR | 2.9.0 | 2.9.7 |
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* | 1 | OR | 3.3.4 | |
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* | 1 | OR | 3.3.5 | 3.4.5 |
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* | 1 | OR | 3.5.0 | 3.5.5 |
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* | 1 | OR | 3.6.0 | 3.6.3 |
cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:M/Au:N/C:P/I:N/A:N
- Access Vector
- LOCAL
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 1.9
- Severity
- LOW
- Exploitability Score
- 3.4
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- LOCAL
- Attack Compatibility
- HIGH
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 4.7
- Base Severity
- MEDIUM
- Exploitability Score
- 1
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740 | Issue Tracking Vendor Advisory |
https://github.com/ansible/ansible/issues/67798 | Issue Tracking Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/ | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202006-11 | Third Party Advisory |
https://www.debian.org/security/2021/dsa-4950 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-1740 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1740 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:29:52 | Added to TrackCVE | |||
2022-12-04 12:55:29 | 2020-03-16T16:15Z | 2020-03-16T16:15:14 | CVE Published Date | updated |
2022-12-04 12:55:29 | 2022-04-05T15:01:55 | CVE Modified Date | updated | |
2022-12-04 12:55:29 | Analyzed | Vulnerability Status | updated |