UBUNTU-CVE-2022-21126

Source
https://ubuntu.com/security/CVE-2022-21126
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21126.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-21126
Upstream
Published
2022-11-29T17:15:00Z
Modified
2025-07-14T06:34:51.747799Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • - medium
Summary
[none]
Details

The package com.github.samtools:htsjdk before 3.0.1 are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the createTempDir() function in util/IOUtil.java not checking for the existence of the temporary directory before attempting to create it.

References

Affected packages

Ubuntu:Pro:16.04:LTS / htsjdk

Package

Name
htsjdk
Purl
pkg:deb/ubuntu/htsjdk@2.0.1+dfsg.1-1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

2.*

2.0.1+dfsg.1-1

Ubuntu:Pro:18.04:LTS / htsjdk

Package

Name
htsjdk
Purl
pkg:deb/ubuntu/htsjdk@2.8.1+dfsg-2?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

2.*

2.8.1+dfsg-1
2.8.1+dfsg-2

Ubuntu:Pro:20.04:LTS / htsjdk

Package

Name
htsjdk
Purl
pkg:deb/ubuntu/htsjdk@2.18.2+dfsg-2?arch=source&distro=esm-apps/focal

Affected ranges

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

Affected versions

2.*

2.18.2+dfsg-2

Ubuntu:22.04:LTS / htsjdk

Package

Name
htsjdk
Purl
pkg:deb/ubuntu/htsjdk@2.24.1+dfsg-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*

2.23.0+dfsg-2
2.24.1+dfsg-1

Ubuntu:24.04:LTS / htsjdk

Package

Name
htsjdk
Purl
pkg:deb/ubuntu/htsjdk@4.1.0+dfsg-1?arch=source&distro=noble

Affected ranges

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

Affected versions

3.*

3.0.5+dfsg-1
3.0.5+dfsg-2

4.*

4.0.2+dfsg-2
4.1.0+dfsg-1

Ubuntu:25.04 / htsjdk

Package

Name
htsjdk
Purl
pkg:deb/ubuntu/htsjdk@4.1.3+dfsg-2?arch=source&distro=plucky

Affected ranges

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

Affected versions

4.*

4.1.0+dfsg-2
4.1.3+dfsg-2