Skip to content

Installing testcontainers results in high severity vulnerabilities #1410

Description

@AviVahl

Expected Behaviour
no vulnerabilities

Actual Behaviour
usage of archiver@7 brings in outdated dependencies that have known security vulnerabilities

Steps to Reproduce

mkdir testcontainers-vulnerabilities
cd testcontainers-vulnerabilities
npm init -y
npm i testcontainers
npm audit

results in 8 high severity vulnerabilities

Environment Information

  • Operating System: Fedora 44
  • Docker Version: 29.6.2
  • Node version: 24.18.0
  • Testcontainers version: 12.0.4

Additional Information
archiver@8 is out, but is esm only. consider moving to esm yourself if you want the freedom to use such modern packages.
if only using archiver for tar archives, consider using the npm tar package (by the author of npm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions