Creation of Temporary File in Directory with Insecure Permissions Affecting com.github.samtools:htsjdk package, versions [,3.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-COMGITHUBSAMTOOLS-3149901
  • published 28 Nov 2022
  • disclosed 28 Nov 2022
  • credit Jonathan Leitschuh

How to fix?

Upgrade com.github.samtools:htsjdk to version 3.0.1 or higher.

Overview

com.github.samtools:htsjdk is a Java API for high-throughput sequencing data (HTS) formats

Affected versions of this package 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

7.8 high