Description (CNA)
Adm-zip before 0.6.1 contains an incorrect permission assignment vulnerability that allows attackers to set setuid, setgid, or sticky bits on extracted files when keepOriginalPermission is enabled. Attackers can craft zip external file attributes that pass unmasked into chmod, letting attacker-controlled executables gain elevated privileges when extracted as root and later run.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| cthackers / adm-zip | affected 0 before 0.6.1; unaffected 0.6.1 |
CWE
CWE-732
References
- https://github.com/cthackers/adm-zip/security/advisories/GHSA-qjf8-53jv-w9w6
- https://www.vulncheck.com/advisories/adm-zip-before-0.6.1-privilege-escalation-via-keeporiginalpermission-setuid-bits
ADP enrichment
No English description supplied.
No references supplied.