GHSA-ccq6-3qx5-vmqx: Is my json valid Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-ccq6-3qx5-vmqx is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Is my json valid libraries in the npm ecosystem. The issue involves moderate severity vulnerability that affects is-my-json-valid. Remediation is available by upgrading affected packages to version 2.12.4.
GHSA-ccq6-3qx5-vmqx at a Glance
How to Fix GHSA-ccq6-3qx5-vmqx
To remediate this vulnerability, upgrade all affected Is my json valid dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install is-my-json-valid@2.12.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls is-my-json-valid
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-ccq6-3qx5-vmqx, inspect your project dependencies using npm:
npm ls is-my-json-valid
Analyze the terminal output to locate any version of Is my json valid in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.12.4), your application is affected.
Note: The npm ls is-my-json-valid command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Is my json valid, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-ccq6-3qx5-vmqx Affected Is my json valid Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
is-my-json-valid
|
npm |
< 2.12.4
|
2.12.4
|
References
Frequently Asked Questions
What is GHSA-ccq6-3qx5-vmqx?
Which Is my json valid versions are affected?
What version fixes GHSA-ccq6-3qx5-vmqx?
Is is-my-json-valid affected?
What CWE is associated with GHSA-ccq6-3qx5-vmqx?
How can I check npm dependencies for GHSA-ccq6-3qx5-vmqx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ccq6-3qx5-vmqx",
"modified" : "2020-06-16T21:33:36Z",
"published" : "2018-07-31T22:54:14Z",
"withdrawn" : "2020-06-16T21:31:07Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects is-my-json-valid",
"details" : "Withdrawn, accidental duplicate publish.\n\nThe is-my-json-valid package before 2.12.4 for Node.js has an incorrect exports['utc-millisec'] regular expression, which allows remote attackers to cause a denial of service (blocked event loop) via a crafted string.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "is-my-json-valid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.12.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.12.3"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-2537"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-ccq6-3qx5-vmqx"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:31:07Z",
"nvd_published_at" : null
}
}