GHSA-96vh-4rfp-c42c

Suggest an improvement
Source
https://github.com/advisories/GHSA-96vh-4rfp-c42c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-96vh-4rfp-c42c/GHSA-96vh-4rfp-c42c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-96vh-4rfp-c42c
Aliases
Published
2022-11-29T18:30:18Z
Modified
2023-11-08T04:08:04.039802Z
Severity
  • 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
Summary
HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
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.

Database specific
{
    "nvd_published_at": "2022-11-29T17:15:00Z",
    "github_reviewed_at": "2022-12-02T22:21:13Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-668"
    ]
}
References

Affected packages

Maven / com.github.samtools:htsjdk

Package

Name
com.github.samtools:htsjdk
View open source insights on deps.dev
Purl
pkg:maven/com.github.samtools/htsjdk

Affected ranges

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

Affected versions

1.*

1.128
1.129
1.130
1.131
1.132
1.133
1.134
1.135
1.136
1.137
1.138
1.139
1.140
1.141
1.142
1.143

2.*

2.0.0
2.0.1
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.3.0
2.4.0
2.4.1
2.5.0
2.5.1
2.6.0
2.6.1
2.7.0
2.8.0
2.8.1
2.9.0
2.9.1
2.10.0
2.10.1
2.11.0
2.12.0
2.13.0
2.13.1
2.13.2
2.14.0
2.14.1
2.14.2
2.14.3
2.15.0
2.15.1
2.16.0
2.16.1
2.17.0
2.18.0
2.18.1
2.18.2
2.19.0
2.20.0
2.20.1
2.20.2
2.20.3
2.21.0
2.21.1
2.21.2
2.21.3
2.22.0
2.23.0
2.24.0
2.24.1

3.*

3.0.0