Malicious code in @terraform-aws-github-runner/aws-ssm-util (npm)
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.