Every CVE Search/ Get API key

CVE-2007-5685

The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory...

5.0 MediumPublic exploit

The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of ".." and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.

Exploit likelihood

3.48%Down 3.3 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of ".." and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.

Record
CVE-2007-5685
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of ".." and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.

Record
CVE-2007-5685
Updated
2026-11-02
EUVDEUVD-2007-5657 No score

The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of ".." and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.

Record
EUVD-2007-5657
Updated
2026-11-03
GitHub AdvisoriesGHSA-fp8w-ccf9-rfr2 No score

The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory...

The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of ".." and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.

Record
GHSA-fp8w-ccf9-rfr2
Weakness
CWE-22
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBShttp 0.0.x - Directory Traversal2007-10-25

History

History
RecordedChangedSources
aliasesEUVD
aliases, exploits, facts, references, titleExploit-DB, GitHub Advisories
first indexedCVE List, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-5685 is a medium vulnerability (CVSS 5.0) in Serverkit Shttp, published October 28, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.48%, the 89th percentile. No source names a fixed version.

References

MoveEnter Open