Malicious Package in rate-map

rate-map Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
Yes i
Critical
9.8

GHSA-x48m-gp6r-gp4v: Malicious Package in rate-map. Affects rate-map versions >= 1.0.3, < 1.0.5. Fixed in 1.0.5. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The rate-map package is an npm package used for rate mapping. It provides functionality for mapping rates in PureScript. The package is vulnerable to a malicious code injection in version 1.0.3, which affects the purescript-installer package by modifying the code of the dl-tar dependency.

Vulnerability Detail

The vulnerability in version 1.0.3 of rate-map involves the presence of malicious code. This code compromises the functionality of the purescript-installer package by altering the code of the dl-tar dependency. The exact origin of the malicious code is not specified. The impact of this vulnerability can be severe, potentially leading to unauthorized access, data breaches, or other malicious activities. The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-506.

How To Fix

Minimum fixed version

1.0.5

This is the first release that contains the fix.

npm install rate-map@1.0.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The rate-map package version 1.0.3 contains a malicious code vulnerability that compromises the purescript-installer package. To ensure the security of your application, it is crucial to upgrade to version 1.0.5 or any later version of the rate-map package. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for rate-map →

Share this vulnerability

FAQ

The impact of this vulnerability can be severe, potentially leading to unauthorized access, data breaches, or other malicious activities.

To mitigate the risk, it is recommended to upgrade to version 1.0.5 or any later version of the rate-map package.

No workaround is mentioned for this vulnerability. It is recommended to upgrade to a secure version of the package.

The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-506.

You can find more information about this vulnerability in the GitHub Advisory Database. Please refer to the provided source link for detailed information.

How To Fix

Minimum fixed version

1.0.5

This is the first release that contains the fix.

npm install rate-map@1.0.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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