Malicious code in @terraform-aws-github-runner/aws-ssm-util (npm)

Summary

29/11/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8637: Malicious code in @terraform-aws-github-runner/aws-ssm-util (npm). Affects @terraform-aws-github-runner/aws-ssm-util versions 1.0.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package @terraform-aws-github-runner/aws-ssm-util is an npm package used for Terraform AWS GitHub Runner. It provides utility functions for interacting with AWS Systems Manager (SSM). The package allows users to manage SSM parameters and perform other SSM-related operations within their Terraform infrastructure. However, a specific version of this package, 1.0.0, has been identified as malicious.

Vulnerability Detail

The package @terraform-aws-github-runner/aws-ssm-util version 1.0.0 has been flagged as malicious by the OpenSSF Package Analysis project. The package executes one or more commands associated with malicious behavior. This can lead to unauthorized access, data breaches, or other malicious activities within the affected infrastructure. It is crucial to take immediate action to mitigate the risk and prevent any potential harm.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @terraform-aws-github-runner/aws-ssm-util

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The best course of action is to follow the steps provided in the 'how_to_fix' section to remove the malicious package version and update to a safe version.

Conclusion

The package @terraform-aws-github-runner/aws-ssm-util version 1.0.0 has been identified as malicious. It is crucial to remove this version from your project dependencies and update to a safe version to mitigate the risk of unauthorized access and other malicious activities. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for @terraform-aws-github-runner/aws-ssm-util →

Share this vulnerability

FAQ

@terraform-aws-github-runner/aws-ssm-util is an npm package used for Terraform AWS GitHub Runner. It provides utility functions for interacting with AWS Systems Manager (SSM).

The impact of this vulnerability can include unauthorized access, data breaches, or other malicious activities within the affected infrastructure.

The specific version 1.0.0 of @terraform-aws-github-runner/aws-ssm-util is identified as malicious.

To fix this vulnerability, remove the affected version of the package from your project dependencies and update to a safe version.

There is no specific workaround mentioned for this vulnerability. It is recommended to follow the steps provided in the 'how_to_fix' section.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @terraform-aws-github-runner/aws-ssm-util

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback