{"schemaVersion":3,"id":"CVE-2021-25314","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A Creation of Temporary File With Insecure Permissions vulnerability in hawk2 of SUSE Linux Enterprise High Availability 12-SP3, SUSE Linux Enterprise High Availability 12-SP5, SUSE Linux Enterprise High Availability 15-SP2 allows local attackers to escalate to root. This issue affects: SUSE Linux Enterprise High Availability 12-SP3 hawk2 versions prior to 2.6.3+git.1614685906.812c31e9. SUSE Linux Enterprise High Availability 12-SP5 hawk2 versions prior to 2.6.3+git.1614685906.812c31e9. SUSE Linux Enterprise High Availability 15-SP2 hawk2 versions prior to 2.6.3+git.1614684118.af555ad9.","dates":{"published":"2021-04-14T15:00:17.561Z","modified":"2024-09-17T01:35:35.573Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00378,"percentile":0.30336,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00378},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00378,"percentile":0.30336}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00378,"percentile":0.30336}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F2743ED0FBD45041","name":"Exploit Reference (bugzilla.suse.com)","source":"reference","url":"https://bugzilla.suse.com/show_bug.cgi?id=1182166","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions","description":"Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/378.html"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"suse","product":"hawk2","name":"hawk2","label":"hawk2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.6.3\\+git.1614685906.812c31e9-2.42.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.3\\+git.1614684118.af555ad9","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.3\\+git.1614685906.812c31e9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.3\\+git.1614685906.812c31e9-2.42.1 | < 2.6.3\\+git.1614684118.af555ad9 | < 2.6.3\\+git.1614685906.812c31e9","eol":null,"hubHref":"/vendor/suse/hawk2"},{"vendor":"suse","product":"suse linux enterprise high availability 12-sp3","name":"SUSE Linux Enterprise High Availability 12-SP3","label":"suse linux enterprise high availability 12-sp3","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ hawk2, < 2.6.3+git.1614685906.812c31e9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ hawk2, < 2.6.3+git.1614685906.812c31e9","eol":null,"hubHref":"/vendor/suse/suse_linux_enterprise_high_availability_12-sp3"},{"vendor":"suse","product":"suse linux enterprise high availability 12-sp5","name":"SUSE Linux Enterprise High Availability 12-SP5","label":"suse linux enterprise high availability 12-sp5","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ hawk2, < 2.6.3+git.1614685906.812c31e9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ hawk2, < 2.6.3+git.1614685906.812c31e9","eol":null,"hubHref":"/vendor/suse/suse_linux_enterprise_high_availability_12-sp5"},{"vendor":"suse","product":"suse linux enterprise high availability 15-sp2","name":"SUSE Linux Enterprise High Availability 15-SP2","label":"suse linux enterprise high availability 15-sp2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ hawk2, < 2.6.3+git.1614684118.af555ad9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ hawk2, < 2.6.3+git.1614684118.af555ad9","eol":null,"hubHref":"/vendor/suse/suse_linux_enterprise_high_availability_15-sp2"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182166","label":"bugzilla.suse.com/show_bug.cgi?id=1182166","hostname":"bugzilla.suse.com","tags":["Exploit","Issue Tracking","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2021:0473-1","OPENSUSE-SU-2024:12952-1","SUSE-SU-2021:0941-1","SUSE-SU-2021:0942-1","SUSE-SU-2021:0943-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:0473-1","OPENSUSE-SU-2024:12952-1","SUSE-SU-2021:0941-1","SUSE-SU-2021:0942-1","SUSE-SU-2021:0943-1"]},"timeline":[{"kind":"published","date":"2021-04-14T15:00:17.561Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T01:35:35.573Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:48:37.809Z","stale":false,"partial":false}}