Skip to content
OpenAdvisories

Package · Go

chainguard.dev/melange

9 known vulnerabilities.

9 results · Feed

  • High 8.3

    melange: Incomplete package integrity verification allows data section substitution

    melange allows users to build apk packages using declarative pipelines. Apko prior to version 1.2.9, corresponding to melange prior to version 0.50.4, verified the control section hash (`.PKGINFO` etc.) against the signed `APKINDEX`, but never verified the da…

  • Medium 4.4

    melange has Path Traversal via .PKGINFO in --persist-lint-results

    melange allows users to build apk packages using declarative pipelines. Starting in version 0.32.0 and prior to version 0.43.4, `melange lint --persist-lint-results` (opt-in flag, also usable via `melange build --persist-lint-results`) constructs output file …

  • Medium 6.1

    melange has Path Traversal When Resolving External Pipelines via Unvalidated pipeline[].uses

    melange allows users to build apk packages using declarative pipelines. Starting in version 0.32.0 and prior to version 0.43.4, an attacker who can influence a melange configuration file — for example through pull-request-driven CI or build-as-a-service scena…

  • Medium 4.3

    melange: unbounded HTTP download in `melange update-cache` can exhaust disk in CI

    melange allows users to build apk packages using declarative pipelines. In version 0.40.5 and prior, melange update-cache downloads URIs from build configs via io.Copy without any size limit or HTTP client timeout (pkg/renovate/cache/cache.go). An attacker-co…

  • Medium 5.5

    melange has a path traversal in license-path which allows reading files outside workspace

    melange allows users to build apk packages using declarative pipelines. From version 0.14.0 to before 0.40.3, an attacker who can influence a melange configuration file (e.g., through pull request-driven CI or build-as-a-service scenarios) could read arbitrar…

  • High 7.8

    melange affected by potential host command execution via license-check YAML mode patch pipeline

    melange allows users to build apk packages using declarative pipelines. From version 0.10.0 to before 0.40.3, an attacker who can influence inputs to the patch pipeline could execute arbitrary shell commands on the build host. The patch pipeline in pkg/build/…

  • High 7.8

    melange pipeline working-directory could allow command injection

    melange allows users to build apk packages using declarative pipelines. From version 0.3.0 to before 0.40.3, an attacker who can provide build input values, but not modify pipeline definitions, could execute arbitrary shell commands if the pipeline uses ${{va…

  • High 8.2

    melange QEMU runner could write files outside workspace directory

    melange allows users to build apk packages using declarative pipelines. In version 0.11.3 to before 0.40.3, an attacker who can influence the tar stream from a QEMU guest VM could write files outside the intended workspace directory on the host. The retrieveW…

  • Medium 4.4

    melange creates SBOM files in APKs with world-writable permissions

    melange allows users to build apk packages using declarative pipelines. Starting in version 0.23.0 and prior to version 0.29.5, SBOM files generated by melange in apks had file system permissions mode 666. This potentially allows an unprivileged user to tampe…