dhohirpradana/Instagram-Automation

ultimate-text-to-image-1.0.1.tgz: 2 vulnerabilities (highest severity is: 7.5)

Opened this issue · 0 comments

Vulnerable Library - ultimate-text-to-image-1.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/make-dir/node_modules/semver/package.json

Found in HEAD commit: fe4be47f59a3978dcf06a4d0698c67585e715a31

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (ultimate-text-to-image version) Remediation Possible**
CVE-2022-25883 High 7.5 detected in multiple dependencies Transitive N/A*
CVE-2024-28863 Medium 6.5 tar-6.1.13.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-25883

Vulnerable Libraries - semver-7.3.8.tgz, semver-6.3.0.tgz

semver-7.3.8.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-7.3.8.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/semver/package.json

Dependency Hierarchy:

  • ultimate-text-to-image-1.0.1.tgz (Root Library)
    • canvas-2.11.0.tgz
      • node-pre-gyp-1.0.10.tgz
        • semver-7.3.8.tgz (Vulnerable Library)

semver-6.3.0.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-6.3.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/make-dir/node_modules/semver/package.json

Dependency Hierarchy:

  • ultimate-text-to-image-1.0.1.tgz (Root Library)
    • canvas-2.11.0.tgz
      • node-pre-gyp-1.0.10.tgz
        • make-dir-3.1.0.tgz
          • semver-6.3.0.tgz (Vulnerable Library)

Found in HEAD commit: fe4be47f59a3978dcf06a4d0698c67585e715a31

Found in base branch: master

Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Publish Date: 2023-06-21

URL: CVE-2022-25883

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-c2qf-rxjj-qqgw

Release Date: 2023-06-21

Fix Resolution: semver - 5.7.2,6.3.1,7.5.2;org.webjars.npm:semver:7.5.2

Step up your Open Source Security Game with Mend here

CVE-2024-28863

Vulnerable Library - tar-6.1.13.tgz

Library home page: https://registry.npmjs.org/tar/-/tar-6.1.13.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/tar/package.json

Dependency Hierarchy:

  • ultimate-text-to-image-1.0.1.tgz (Root Library)
    • canvas-2.11.0.tgz
      • node-pre-gyp-1.0.10.tgz
        • tar-6.1.13.tgz (Vulnerable Library)

Found in HEAD commit: fe4be47f59a3978dcf06a4d0698c67585e715a31

Found in base branch: master

Vulnerability Details

node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders.

Publish Date: 2024-03-21

URL: CVE-2024-28863

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-f5x3-32g6-xq36

Release Date: 2024-03-21

Fix Resolution: tar - 6.2.1

Step up your Open Source Security Game with Mend here