CVE-2018-6552 (GCVE-0-2018-6552)
Vulnerability from cvelistv5
Published
2018-05-31 22:00
Modified
2024-09-17 03:07
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- Denial of service via resource exhaustion, privilege escalation, and escape from containers
Summary
Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/<global pid>/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/<global pid>/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.
References
► | URL | Tags | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Impacted products
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-05T06:10:10.228Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "USN-3664-1", "tags": [ "vendor-advisory", "x_refsource_UBUNTU", "x_transferred" ], "url": "https://usn.ubuntu.com/usn/usn-3664-1" }, { "name": "USN-3664-2", "tags": [ "vendor-advisory", "x_refsource_UBUNTU", "x_transferred" ], "url": "https://usn.ubuntu.com/3664-2/" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "platforms": [ "Ubuntu 18.04" ], "product": "Apport", "vendor": "n/a", "versions": [ { "lessThan": "unspecified", "status": "affected", "version": "2.20.8-0ubuntu4", "versionType": "custom" }, { "lessThan": "2.20.9-0ubuntu7.1", "status": "affected", "version": "unspecified", "versionType": "custom" } ] }, { "platforms": [ "Ubuntu 16.04" ], "product": "Apport", "vendor": "n/a", "versions": [ { "lessThan": "unspecified", "status": "affected", "version": "2.20.1-0ubuntu2.15", "versionType": "custom" }, { "lessThan": "2.20.1-0ubuntu2.18", "status": "affected", "version": "unspecified", "versionType": "custom" } ] }, { "platforms": [ "Ubuntu 17.10" ], "product": "Apport", "vendor": "n/a", "versions": [ { "lessThan": "unspecified", "status": "affected", "version": "2.20.7-0ubuntu3.7", "versionType": "custom" }, { "lessThan": "2.20.7-0ubuntu3.9", "status": "affected", "version": "unspecified", "versionType": "custom" } ] }, { "platforms": [ "Ubuntu 14.04" ], "product": "Apport", "vendor": "n/a", "versions": [ { "status": "affected", "version": "2.14.1-0ubuntu3.28" } ] } ], "credits": [ { "lang": "en", "value": "Sander Bos" } ], "datePublic": "2018-05-30T00:00:00", "descriptions": [ { "lang": "en", "value": "Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/\u003cglobal pid\u003e/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/\u003cglobal pid\u003e/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28." } ], "problemTypes": [ { "descriptions": [ { "description": "Denial of service via resource exhaustion, privilege escalation, and escape from containers", "lang": "en", "type": "text" } ] } ], "providerMetadata": { "dateUpdated": "2018-06-08T18:57:01", "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical" }, "references": [ { "name": "USN-3664-1", "tags": [ "vendor-advisory", "x_refsource_UBUNTU" ], "url": "https://usn.ubuntu.com/usn/usn-3664-1" }, { "name": "USN-3664-2", "tags": [ "vendor-advisory", "x_refsource_UBUNTU" ], "url": "https://usn.ubuntu.com/3664-2/" } ], "source": { "advisory": "USN-3664-1", "defect": [ "1746668" ], "discovery": "EXTERNAL" }, "title": "Apport treats the container PID as the global PID when /proc/\u003cglobal_pid\u003e/ is missing", "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "security@ubuntu.com", "DATE_PUBLIC": "2018-05-30T18:00:00.000Z", "ID": "CVE-2018-6552", "STATE": "PUBLIC", "TITLE": "Apport treats the container PID as the global PID when /proc/\u003cglobal_pid\u003e/ is missing" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "Apport", "version": { "version_data": [ { "affected": "\u003e=", "platform": "Ubuntu 18.04", "version_affected": "\u003e=", "version_value": "2.20.8-0ubuntu4" }, { "affected": "\u003c", "platform": "Ubuntu 18.04", "version_affected": "\u003c", "version_value": "2.20.9-0ubuntu7.1" }, { "affected": "\u003e=", "platform": "Ubuntu 16.04", "version_affected": "\u003e=", "version_value": "2.20.1-0ubuntu2.15" }, { "affected": "\u003c", "platform": "Ubuntu 16.04", "version_affected": "\u003c", "version_value": "2.20.1-0ubuntu2.18" }, { "affected": "\u003e=", "platform": "Ubuntu 17.10", "version_affected": "\u003e=", "version_value": "2.20.7-0ubuntu3.7" }, { "affected": "\u003c", "platform": "Ubuntu 17.10", "version_affected": "\u003c", "version_value": "2.20.7-0ubuntu3.9" }, { "affected": "=", "platform": "Ubuntu 14.04", "version_affected": "=", "version_value": "2.14.1-0ubuntu3.28" } ] } } ] }, "vendor_name": "n/a" } ] } }, "credit": [ { "lang": "eng", "value": "Sander Bos" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/\u003cglobal pid\u003e/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/\u003cglobal pid\u003e/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Denial of service via resource exhaustion, privilege escalation, and escape from containers" } ] } ] }, "references": { "reference_data": [ { "name": "USN-3664-1", "refsource": "UBUNTU", "url": "https://usn.ubuntu.com/usn/usn-3664-1" }, { "name": "USN-3664-2", "refsource": "UBUNTU", "url": "https://usn.ubuntu.com/3664-2/" } ] }, "source": { "advisory": "USN-3664-1", "defect": [ "1746668" ], "discovery": "EXTERNAL" } } } }, "cveMetadata": { "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "assignerShortName": "canonical", "cveId": "CVE-2018-6552", "datePublished": "2018-05-31T22:00:00Z", "dateReserved": "2018-02-02T00:00:00", "dateUpdated": "2024-09-17T03:07:21.752Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2018-6552\",\"sourceIdentifier\":\"security@ubuntu.com\",\"published\":\"2018-05-31T22:29:00.207\",\"lastModified\":\"2024-11-21T04:10:53.427\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/\u003cglobal pid\u003e/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/\u003cglobal pid\u003e/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.\"},{\"lang\":\"es\",\"value\":\"Apport no gestiona adecuadamente los cierres inesperados provenientes de un espacio de nombre PID, lo que permite que los usuarios locales creen ciertos archivos como root. Un atacante podr\u00eda aprovechar estos archivos para realizar una denegaci\u00f3n de servicio (DoS) mediante el agotamiento de recursos o, posiblemente, obtener privilegios root o escapar de contenedores. La funci\u00f3n is_same_ns() devuelve True cuando /proc// no existe para indicar que el cierre inesperado deber\u00eda ser gestionado en el espacio de nombres global, en lugar de en el interior de un contenedor. Sin embargo, la porci\u00f3n de c\u00f3digo de datos/apport que decide si reenviar o no un cierre inesperado a un contenedor no siempre reemplaza sys.argv[1] con el valor almacenado en la variable host_pid cuando /proc// no existe. Esto resulta en que el contenedor pid se emplea en el espacio de nombres global. Este error afecta a las versiones 2.20.8-0ubuntu4 hasta 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 hasta 2.20.1-0ubuntu2.17 y 2.14.1-0ubuntu3.28.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:L/Au:N/C:C/I:C/A:C\",\"baseScore\":7.2,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"COMPLETE\",\"integrityImpact\":\"COMPLETE\",\"availabilityImpact\":\"COMPLETE\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":3.9,\"impactScore\":10.0,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"operator\":\"AND\",\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apport_project:apport:2.14.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8CBC4B18-529F-4AAE-BCFE-6F8ACA5346B5\"}]},{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":false,\"criteria\":\"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*\",\"matchCriteriaId\":\"B5A6F2F3-4894-4392-8296-3B8DD2679084\"}]}]},{\"operator\":\"AND\",\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apport_project:apport:2.20.9:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"01B2C2C2-E12D-4DD2-9162-2ABBE91454BE\"}]},{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":false,\"criteria\":\"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*\",\"matchCriteriaId\":\"23A7C53F-B80F-4E6A-AFA9-58EEA84BE11D\"}]}]},{\"operator\":\"AND\",\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apport_project:apport:2.20.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AF9D13BC-5B99-4B99-9C43-5FA848F9AAAC\"}]},{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":false,\"criteria\":\"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9070C9D8-A14A-467F-8253-33B966C16886\"}]}]},{\"operator\":\"AND\",\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apport_project:apport:2.20.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D55EA2A0-01E7-4816-ACBE-497296FAE0D7\"}]},{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":false,\"criteria\":\"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*\",\"matchCriteriaId\":\"F7016A2A-8365-4F1A-89A2-7A19F2BCAE5B\"}]}]}],\"references\":[{\"url\":\"https://usn.ubuntu.com/3664-2/\",\"source\":\"security@ubuntu.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://usn.ubuntu.com/usn/usn-3664-1\",\"source\":\"security@ubuntu.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://usn.ubuntu.com/3664-2/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://usn.ubuntu.com/usn/usn-3664-1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…