GHSA-725m-w832-q973

Suggest an improvement
Source
https://github.com/advisories/GHSA-725m-w832-q973
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-725m-w832-q973/GHSA-725m-w832-q973.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-725m-w832-q973
Aliases
Published
2023-09-21T06:30:25Z
Modified
2024-02-16T08:06:03.292718Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Composer allows cache poisoning from other projects built on the same host
Details

Composer before 2016-02-10 allows cache poisoning from other projects built on the same host. This results in attacker-controlled code entering a server-side build process. The issue occurs because of the way that dist packages are cached. The cache key is derived from the package name, the dist type, and certain other data from the package repository (which may simply be a commit hash, and thus can be found by an attacker). Versions through 1.0.0-alpha11 are affected, and 1.0.0 is unaffected.

Database specific
{
    "nvd_published_at": "2023-09-21T06:15:11Z",
    "cwe_ids": [
        "CWE-345"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-21T17:20:59Z"
}
References

Affected packages

Packagist / composer/composer

Package

Name
composer/composer
Purl
pkg:composer/composer/composer

Affected ranges

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

Affected versions

1.*

1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-alpha5
1.0.0-alpha6
1.0.0-alpha7
1.0.0-alpha8
1.0.0-alpha9
1.0.0-alpha10
1.0.0-alpha11
1.0.0-beta1
1.0.0-beta2

Database specific

{
    "last_known_affected_version_range": "<= 1.0.0-alpha11"
}