org.apache.parquet:parquet-hadoop@1.16.0

  • latest version

    1.18.1

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    13 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.parquet:parquet-hadoop package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Server-side Request Forgery (SSRF)

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through FileKeyUnwrapper in parquet-hadoop/src/main/java/org/apache/parquet/crypto/keytools/FileKeyUnwrapper.java. An attacker can make a reader send its KMS access token to an attacker-controlled host by supplying a Parquet file whose stored key material contains a malicious KMS URL and relying on a deployment that does not override that URL in application configuration. When readers forward the file-controlled URL into a pluggable KmsClient, the client may contact the attacker’s endpoint with the token needed to unwrap the data keys. This can expose KMS credentials and leave the victim unable to decrypt the file safely if the token is intercepted or reused.

    Workarounds

    • Set parquet.encryption.kms.instance.url in the reader application configuration so the reader uses an application-controlled KMS URL instead of taking the URL from file key material; this prevents a file-supplied malicious KMS endpoint from receiving the KMS access token.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade org.apache.parquet:parquet-hadoop to version 1.18.1 or higher.

    [1.12,1.18.1)