CVE-20XX-?
agent?

CVE-2021-32842

4.0 MEDIUM 0.9% exploit odds Fix listed

What it is

SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.0.0 and prior to version 1.3.3, a check was added if the destination file is under a destination directory. However, it is not enforced that `_baseDirectory` ends with slash. If the _baseDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints, the arbitrary file creation impact is limited and depends on the use case. Version 1.3.3 fixed this vulnerability.

At a glance

Exploitability
Can be exploited locally on the machine without logging in. Limited direct impact.
Exploit odds
0.9% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Why it ranks here

Details

Published
Last modified
Exploit probability
0.9% · EPSS, next 30 days
Weakness
CWE-22 · Path traversal
Record status
Modified

Affected

Attack profile CVSS 3.1 · 4.0

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
Raw vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Is it in your code?

Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.

Read https://cve-list.com/agent/cve/CVE-2021-32842.md and follow it. Check whether this project is affected by CVE-2021-32842. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.

· More options · Status badge

Meme: I wake up, CVE-2021-32842
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record