CWE-42 Path Equivalence: 'filename.' (Trailing Dot)

variant

The product accepts path input in the form of trailing dot ('filedir.') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.

01

übergeordnete Schwächen

Übergeordnete Klassen, zu denen dies gehört.

02

untergeordnete Schwächen

Spezifischere Einträge unterhalb dieses.

03

Schwachstellen (2)

Zugehörige CVEs.

IDSchweregrad ausnutzbar
CVE-2021-21682USmedium4.3—
Jenkins 2.314 and earlier, LTS 2.303.1 and earlier accepts names of jobs and other entities with a trailing dot character, potentially replacing the configuration and data of other…
CVE-2026-52884US——
Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPref…
04

Quelle

Wo diese Definition veröffentlicht ist.

scry

Schwächen wie diese tauchen in realen, ausnutzbaren Angriffsflächen auf. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.

Kostenloser Scan