Security mailing lists by PureSourceCode

CVE-2022-21126

HIGH 7.8CVSS 3.1

HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere

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.

Published
29 Nov 2022
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-668
Also known as
GHSA-96vh-4rfp-c42c
Sources
NVDJSONOSV GHSA-96vh-4rfp-c42cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD samtools htsjdk
cpe:2.3:a:samtools:htsjdk:*:*:*:*:*:*:*:*
< 3.0.1 3.0.1
OSV Maven com.github.samtools:htsjdk < 3.0.1 3.0.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Nov 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.