{"api_version":"1","generated_at":"2026-07-23T12:46:11+00:00","cve":"CVE-2019-18932","urls":{"html":"https://cve.report/CVE-2019-18932","api":"https://cve.report/api/cve/CVE-2019-18932.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-18932","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-18932"},"summary":{"title":"CVE-2019-18932","description":"log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation. By default, it uses a fixed temporary directory /tmp/sarg. As the root user, sarg creates this directory or reuses an existing one in an insecure manner. An attacker can pre-create the directory, and place symlinks in it (after winning a /tmp/sarg/denied.int_unsort race condition). The outcome will be corrupted or newly created files in privileged file system locations.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2020-01-21 18:15:00","updated_at":"2022-04-26 20:05:00"},"problem_types":["CWE-362","CWE-59"],"metrics":[],"references":[{"url":"https://sourceforge.net/projects/sarg/","name":"https://sourceforge.net/projects/sarg/","refsource":"MISC","tags":["Third Party Advisory"],"title":"SourceForge.net: Project Info - sarg","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2020/01/20/6","name":"http://www.openwall.com/lists/oss-security/2020/01/20/6","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege\n escalation / DoS attack vector","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202007-32","name":"GLSA-202007-32","refsource":"GENTOO","tags":[],"title":"Sarg: Local privilege escalation (GLSA 202007-32) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html","name":"openSUSE-SU-2020:0117","refsource":"SUSE","tags":["Third Party Advisory"],"title":"[security-announce] openSUSE-SU-2020:0117-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2020/01/27/1","name":"[oss-security] 20200127 Re: CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: CVE-2019-18932: sarg: insecure usage of /tmp/sarg\n allows privilege escalation / DoS attack vector","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html","name":"openSUSE-SU-2020:0140","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2020:0140-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://seclists.org/oss-sec/2020/q1/23","name":"[oss-security] CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-sec: CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1150554","name":"https://bugzilla.suse.com/show_bug.cgi?id=1150554","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 1150554 – AUDIT-1: sarg: review of cron job file(s): /etc/cron.daily/suse.de-sarg, /etc/cron.monthly/suse.de-sarg, /etc/cron.weekly/suse.de-sarg","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-18932","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18932","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"18932","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"opensuse","cpe5":"backports_sle","cpe6":"15.0","cpe7":"sp1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"18932","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"18932","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"18932","vulnerable":"1","versionEndIncluding":"2.3.11","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squid_analysis_report_generator_project","cpe5":"squid_analysis_report_generator","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-18932","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation. By default, it uses a fixed temporary directory /tmp/sarg. As the root user, sarg creates this directory or reuses an existing one in an insecure manner. An attacker can pre-create the directory, and place symlinks in it (after winning a /tmp/sarg/denied.int_unsort race condition). The outcome will be corrupted or newly created files in privileged file system locations."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1150554","refsource":"MISC","name":"https://bugzilla.suse.com/show_bug.cgi?id=1150554"},{"url":"https://sourceforge.net/projects/sarg/","refsource":"MISC","name":"https://sourceforge.net/projects/sarg/"},{"refsource":"MLIST","name":"[oss-security] 20200120 CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector","url":"http://www.openwall.com/lists/oss-security/2020/01/20/6"},{"refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2020/01/20/6","url":"http://www.openwall.com/lists/oss-security/2020/01/20/6"},{"refsource":"MLIST","name":"[oss-security] CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector","url":"https://seclists.org/oss-sec/2020/q1/23"},{"refsource":"MLIST","name":"[oss-security] 20200127 Re: CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector","url":"http://www.openwall.com/lists/oss-security/2020/01/27/1"},{"refsource":"SUSE","name":"openSUSE-SU-2020:0117","url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html"},{"refsource":"SUSE","name":"openSUSE-SU-2020:0140","url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html"},{"refsource":"GENTOO","name":"GLSA-202007-32","url":"https://security.gentoo.org/glsa/202007-32"}]}},"nvd":{"publishedDate":"2020-01-21 18:15:00","lastModifiedDate":"2022-04-26 20:05:00","problem_types":["CWE-362","CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.4},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:squid_analysis_report_generator_project:squid_analysis_report_generator:*:*:*:*:*:*:*:*","versionEndIncluding":"2.3.11","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"18932","Ordinal":"160498","Title":"CVE-2019-18932","CVE":"CVE-2019-18932","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"18932","Ordinal":"1","NoteData":"log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation. By default, it uses a fixed temporary directory /tmp/sarg. As the root user, sarg creates this directory or reuses an existing one in an insecure manner. An attacker can pre-create the directory, and place symlinks in it (after winning a /tmp/sarg/denied.int_unsort race condition). The outcome will be corrupted or newly created files in privileged file system locations.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"18932","Ordinal":"2","NoteData":"2020-01-21","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"18932","Ordinal":"3","NoteData":"2020-07-26","Type":"Other","Title":"Modified"}]}}}