cli
Affected
- introduced
0, fixed1.0.0(semver)
Fixed versions
1.0.0
Fix
- Fixed version
1.0.0npm install [email protected]
Advisory
Also known as: CVE-2016-10538
Arbitrary File Write in cli
Affected versions of cli use predictable temporary file names. If an attacker can create a symbolic link at the location of one of these temporarly file names, the attacker can arbitrarily write to any file that the user which owns the cli process has permission to write to.
Proof of Concept
By creating Symbolic Links at the following locations, the target of the link can be written to.
lock_file = '/tmp/' + cli.app + '.pid',
log_file = '/tmp/' + cli.app + '.log';
Recommendation
Update to version 1.0.0 or later.
Low Basis: The source's own band: LOW
0, fixed 1.0.0 (semver)1.0.0
1.0.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0