UBUNTU-CVE-2021-32842

Source
https://ubuntu.com/security/CVE-2021-32842
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32842.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-32842
Related
Published
2022-01-26T21:15:00Z
Modified
2024-12-18T16:37:22Z
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.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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / mono

Package

Name
mono
Purl
pkg:deb/ubuntu/mono?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

2.*

2.10.8.1-5ubuntu2

3.*

3.2.3+dfsg-5
3.2.3+dfsg-7ubuntu1
3.2.8+dfsg-4ubuntu1
3.2.8+dfsg-4ubuntu1.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / mono

Package

Name
mono
Purl
pkg:deb/ubuntu/mono?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

3.*

3.2.8+dfsg-4ubuntu4

4.*

4.2.1.102+dfsg2-5ubuntu1
4.2.1.102+dfsg2-7ubuntu4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / mono

Package

Name
mono
Purl
pkg:deb/ubuntu/mono?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

4.*

4.6.2.7+dfsg-1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / mono

Package

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

Affected ranges

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

Affected versions

5.*

5.18.0.240+dfsg-3

6.*

6.8.0.105+dfsg-1
6.8.0.105+dfsg-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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"
}