HIGH 7.5

CVE-2019-13173

Arbitrary File Overwrite in fstream

Description

Versions of fstream prior to 1.0.12 are 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.

Recommendation

Upgrade to version 1.0.12 or later.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » fstreamvia npm fstream
< 1.0.12
1.0.12
org.webjars » fstreamvia npm fstream
< 1.0.12
1.0.12
org.webjars.npm » fstreamvia npm fstream
< 1.0.12
1.0.12

Blast radius

2affected artifacts
6affected versions
13dependent artifacts (est.)
17dependent versions

100% of the dependent artifacts (13) still pull an affected version in their latest release.

DepthDependent versions
Direct
1
2 hops
1
3 hops
1
4 hops
2
5 hops
4
6 hops
8

Most used dependents

Computed from the dependency graph of build 20261205.0236 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV

References

Advisorynvd.nist.gov
Webgithub.com
Webusn.ubuntu.com
Webnpmjs.com
Weblists.opensuse.org
Weblists.opensuse.org