simplycubed / terraform-google-static-assets

Modules for managing static assets (CSS, JS, images) in GCP
https://simplycubed.com
Apache License 2.0
2 stars 1 forks source link

CVE-2023-2253 (Medium) detected in github.com/docker/distribution-v2.8.1+incompatible - autoclosed #66

Closed mend-bolt-for-github[bot] closed 4 months ago

mend-bolt-for-github[bot] commented 4 months ago

CVE-2023-2253 - Medium Severity Vulnerability

Vulnerable Library - github.com/docker/distribution-v2.8.1+incompatible

Library home page: https://proxy.golang.org/github.com/docker/distribution/@v/v2.8.1+incompatible.zip

Path to dependency file: /test/go.mod

Path to vulnerable library: /test/go.mod

Dependency Hierarchy: - github.com/gruntwork-io/terratest-v0.40.17 (Root Library) - github.com/google/go-containerregistry-v0.9.0 - :x: **github.com/docker/distribution-v2.8.1+incompatible** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

A flaw was found in the `/v2/_catalog` endpoint in distribution/distribution, which accepts a parameter to control the maximum number of records returned (query string: `n`). This vulnerability allows a malicious user to submit an unreasonably large value for `n,` causing the allocation of a massive string array, possibly causing a denial of service through excessive use of memory.

Publish Date: 2023-06-06

URL: CVE-2023-2253

CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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: https://github.com/advisories/GHSA-hqxw-f8mx-cpmw

Release Date: 2023-04-24

Fix Resolution: v2.8.2


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 4 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.