fstream before 1.0.12 is vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system, and a file that matches the hardlink, will overwrite the system's file with the contents of the extracted file. The fstream.DirWriter() function is vulnerable.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2019-0484 | fstream before 1.0.12 is vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system, and a file that matches the hardlink, will overwrite the system's file with the contents of the extracted file. The fstream.DirWriter() function is vulnerable. |
Github GHSA |
GHSA-xf7w-r453-m56c | Arbitrary File Overwrite in fstream |
Ubuntu USN |
USN-4123-1 | npm/fstream vulnerability |
Ubuntu USN |
USN-4863-1 | fstream vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-04T23:41:10.702Z
Reserved: 2019-07-02T00:00:00
Link: CVE-2019-13173
No data.
Status : Modified
Published: 2019-07-02T20:15:11.823
Modified: 2024-11-21T04:24:21.393
Link: CVE-2019-13173
OpenCVE Enrichment
No data.
EUVD
Github GHSA
Ubuntu USN