CVE-2019-12522
CVSS V2 Medium 4.4
CVSS V3 Medium 4.5
Description
An issue was discovered in Squid through 4.7. When Squid is run as root, it spawns its child processes as a lesser user, by default the user nobody. This is done via the leave_suid call. leave_suid leaves the Saved UID as 0. This makes it trivial for an attacker who has compromised the child process to escalate their privileges back to root.
Overview
- CVE ID
- CVE-2019-12522
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2020-04-15T19:15:12
- Last Modified Date
- 2021-03-10T17:27:49
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* | 1 | OR | 4.7 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- LOCAL
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 4.4
- Severity
- MEDIUM
- Exploitability Score
- 3.4
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- Attack Vector
- LOCAL
- Attack Compatibility
- HIGH
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- LOW
- Base Score
- 4.5
- Base Severity
- MEDIUM
- Exploitability Score
- 1
- Impact Score
- 3.4
References
Reference URL | Reference Tags |
---|---|
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210205-0006/ | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2019-12522 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12522 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:20:24 | Added to TrackCVE | |||
2022-12-04 14:53:29 | 2020-04-15T19:15Z | 2020-04-15T19:15:12 | CVE Published Date | updated |
2022-12-04 14:53:29 | 2021-03-10T17:27:49 | CVE Modified Date | updated | |
2022-12-04 14:53:29 | Analyzed | Vulnerability Status | updated |