GHSA-8p8g-f9vg-r7xr

    Dashboard / Vulnerabilities / GHSA-8p8g-f9vg-r7xr

    GHSA-8p8g-f9vg-r7xr

    Published: 21 Dec 2018Last Modified: 16 Feb 2024

    Summary: Directory Traversal vulnerability in Square Retrofit

    Details: Square Retrofit versions from (including) 2.0 to 2.5.0 (excluding) contain a Directory Traversal vulnerability in RequestBuilder class, method addPathParameter. By manipulating the URL an attacker could add or delete resources otherwise unavailable to her. This attack appears to be exploitable via an encoded path parameter on POST, PUT or DELETE request. This vulnerability appears to have been fixed in 2.5.0 and later.

    Affected packages

    Package

    Name: com.squareup.retrofit2:retrofit

    Purl: pkg:maven/com.squareup.retrofit2/retrofit

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.0.0
    Fixed -2.5.0

    Affected versions

    2.0.0
    2.0.1
    2.0.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High