UBUNTU-CVE-2021-32841

Source
https://ubuntu.com/security/CVE-2021-32841
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32841.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-32841
Related
Published
2022-01-26T22:15:00Z
Modified
2024-10-15T14:08:10Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.3.0 and prior to version 1.3.3, a check was added if the destination file is under destination directory. However, it is not enforced that destDir ends with slash. If the destDir is not slash terminated like /home/user/dir it is possible to create a file with a name thats begins with the destination 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 contains a patch for this vulnerability.

References

Affected packages

Ubuntu:22.04:LTS / mono

Package

Name
mono
Purl
pkg:deb/ubuntu/mono?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.8.0.105+dfsg-3.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / mono

Package

Name
mono
Purl
pkg:deb/ubuntu/mono?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.8.0.105+dfsg-3.6ubuntu2
6.12.0.199+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / mono

Package

Name
mono
Purl
pkg:deb/ubuntu/mono?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.8.0.105+dfsg-3.4
6.8.0.105+dfsg-3.5ubuntu1
6.8.0.105+dfsg-3.6ubuntu1
6.8.0.105+dfsg-3.6ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}