Critical Certificate Validation Flaw in Node.js - ALPINE-CVE-2019-15604

nodejs Updated 02 Oct 2025

Summary

07/02/2020
N/A
Yes i
High
7.5

ALPINE-CVE-2019-15604: Improper Certificate Validation in Node.js 10, 12, and 13 causes the process to abort when sending a crafted X.509 certificate. Affects nodejs versions < 10.19.0-r0. Fixed in 10.19.0-r0. 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

Node.js is a popular open-source runtime environment that allows developers to execute JavaScript code server-side. It is widely used for building scalable network applications. The affected versions of Node.js (10, 12, and 13) have a vulnerability that compromises the integrity of certificate validation, potentially leading to application crashes when handling malformed X.509 certificates.

Vulnerability Detail

The vulnerability, identified as ALPINE-CVE-2019-15604, stems from improper certificate validation in Node.js. When a crafted X.509 certificate is sent, the process may abort unexpectedly, leading to denial of service. This vulnerability can be exploited by attackers to disrupt services that rely on Node.js for secure communications, making it critical to address.

How To Fix

Minimum fixed version

10.19.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade nodejs

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

Workaround

As a temporary workaround, ensure that your application does not process untrusted or malformed X.509 certificates until the package can be updated. Implementing strict validation checks on incoming certificates may help mitigate the risk.

Conclusion

The improper certificate validation vulnerability in Node.js poses a significant risk to applications using affected versions. It is crucial to update to the patched versions to ensure the integrity and availability of services. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Node.js versions 10, 12, and 13 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to application crashes and denial of service, affecting the availability of services relying on Node.js.

Yes, updating Node.js to the specified patched versions will permanently fix the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

10.19.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade nodejs

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