Arbitrary File Read via Absolute Path Input in nltk.util.filestring()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| nltk | nltk/nltk | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Nltk | Nltk/nltk |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-h8wq-7xc4-p3qx | NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring() |
Ubuntu USN |
USN-8302-1 | NLTK vulnerabilities |
No CVSS v4.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.590% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nltk nltk
|
|
| CPEs | cpe:2.3:a:nltk:nltk:3.9.2:*:*:*:*:*:*:* | |
| Vendors & Products |
Nltk nltk
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nltk
Nltk nltk/nltk |
|
| Vendors & Products |
Nltk
Nltk nltk/nltk |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens files specified by user input without sanitization, enabling attackers to access sensitive system files by providing absolute paths or traversal paths. This vulnerability can be exploited locally or remotely, particularly in scenarios where the function is used in web APIs or other interfaces that accept user-supplied input. | |
| Title | Arbitrary File Read via Absolute Path Input in nltk.util.filestring() | |
| Weaknesses | CWE-36 | |
| References |
| |
| Metrics |
cvssV3_0
|