Files
deploy/docs/snyk/v3.0.16/argocd-test.html
2025-09-15 14:00:28 +00:00

3419 lines
188 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Snyk test report</title>
<meta name="description" content="16 known vulnerabilities found in 106 vulnerable dependency paths.">
<base target="_blank">
<link rel="icon" type="image/png" href="https://res.cloudinary.com/snyk/image/upload/v1468845142/favicon/favicon.png"
sizes="194x194">
<link rel="shortcut icon" href="https://res.cloudinary.com/snyk/image/upload/v1468845142/favicon/favicon.ico">
<style type="text/css">
body {
-moz-font-feature-settings: "pnum";
-webkit-font-feature-settings: "pnum";
font-variant-numeric: proportional-nums;
display: flex;
flex-direction: column;
font-feature-settings: "pnum";
font-size: 100%;
line-height: 1.5;
min-height: 100vh;
-webkit-text-size-adjust: 100%;
margin: 0;
padding: 0;
background-color: #F5F5F5;
font-family: 'Arial', 'Helvetica', Calibri, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 500;
}
a,
a:link,
a:visited {
border-bottom: 1px solid #4b45a9;
text-decoration: none;
color: #4b45a9;
}
a:hover,
a:focus,
a:active {
border-bottom: 1px solid #4b45a9;
}
hr {
border: none;
margin: 1em 0;
border-top: 1px solid #c5c5c5;
}
ul {
padding: 0 1em;
margin: 1em 0;
}
code {
background-color: #EEE;
color: #333;
padding: 0.25em 0.5em;
border-radius: 0.25em;
}
pre {
background-color: #333;
font-family: monospace;
padding: 0.5em 1em 0.75em;
border-radius: 0.25em;
font-size: 14px;
}
pre code {
padding: 0;
background-color: transparent;
color: #fff;
}
a code {
border-radius: .125rem .125rem 0 0;
padding-bottom: 0;
color: #4b45a9;
}
a[href^="http://"]:after,
a[href^="https://"]:after {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20112%20109%22%3E%3Cg%20id%3D%22Page-1%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22link-external%22%3E%3Cg%20id%3D%22arrow%22%3E%3Cpath%20id%3D%22Line%22%20stroke%3D%22%234B45A9%22%20stroke-width%3D%2215%22%20d%3D%22M88.5%2021l-43%2042.5%22%20stroke-linecap%3D%22square%22%2F%3E%3Cpath%20id%3D%22Triangle%22%20fill%3D%22%234B45A9%22%20d%3D%22M111.2%200v50L61%200z%22%2F%3E%3C%2Fg%3E%3Cpath%20id%3D%22square%22%20fill%3D%22%234B45A9%22%20d%3D%22M66%2015H0v94h94V44L79%2059v35H15V30h36z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
background-repeat: no-repeat;
background-size: .75rem;
content: "";
display: inline-block;
height: .75rem;
margin-left: .25rem;
width: .75rem;
}
/* Layout */
[class*=layout-container] {
margin: 0 auto;
max-width: 71.25em;
padding: 1.9em 1.3em;
position: relative;
}
.layout-container--short {
padding-top: 0;
padding-bottom: 0;
max-width: 48.75em;
}
.layout-container--short:after {
display: block;
content: "";
clear: both;
}
/* Header */
.header {
padding-bottom: 1px;
}
.paths {
margin-left: 8px;
}
.header-wrap {
display: flex;
flex-direction: row;
justify-content: space-between;
padding-top: 2em;
}
.project__header {
background-color: #030328;
color: #fff;
margin-bottom: -1px;
padding-top: 1em;
padding-bottom: 0.25em;
border-bottom: 2px solid #BBB;
}
.project__header__title {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-all;
margin-bottom: .1em;
margin-top: 0;
}
.timestamp {
float: right;
clear: none;
margin-bottom: 0;
}
.meta-counts {
clear: both;
display: block;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 0 1.5em;
color: #fff;
clear: both;
font-size: 1.1em;
}
.meta-count {
display: block;
flex-basis: 100%;
margin: 0 1em 1em 0;
float: left;
padding-right: 1em;
border-right: 2px solid #fff;
}
.meta-count:last-child {
border-right: 0;
padding-right: 0;
margin-right: 0;
}
/* Card */
.card {
background-color: #fff;
border: 1px solid #c5c5c5;
border-radius: .25rem;
margin: 0 0 2em 0;
position: relative;
min-height: 40px;
padding: 1.5em;
}
.card__labels {
position: absolute;
top: 1.1em;
left: 0;
display: flex;
align-items: center;
gap: 8px;
}
.card .label {
background-color: #767676;
border: 2px solid #767676;
color: white;
padding: 0.25rem 0.75rem;
font-size: 0.875rem;
text-transform: uppercase;
display: inline-block;
margin: 0;
border-radius: 0.25rem;
}
.card .label__text {
vertical-align: text-top;
font-weight: bold;
}
.card .label--critical {
background-color: #AB1A1A;
border-color: #AB1A1A;
}
.card .label--high {
background-color: #CE5019;
border-color: #CE5019;
}
.card .label--medium {
background-color: #D68000;
border-color: #D68000;
}
.card .label--low {
background-color: #88879E;
border-color: #88879E;
}
.severity--low {
border-color: #88879E;
}
.severity--medium {
border-color: #D68000;
}
.severity--high {
border-color: #CE5019;
}
.severity--critical {
border-color: #AB1A1A;
}
.card--vuln {
padding-top: 4em;
}
.card--vuln .card__labels > .label:first-child {
padding-left: 1.9em;
padding-right: 1.9em;
border-radius: 0 0.25rem 0.25rem 0;
}
.card--vuln .card__section h2 {
font-size: 22px;
margin-bottom: 0.5em;
}
.card--vuln .card__section p {
margin: 0 0 0.5em 0;
}
.card--vuln .card__meta {
padding: 0 0 0 1em;
margin: 0;
font-size: 1.1em;
}
.card .card__meta__paths {
font-size: 0.9em;
}
.card--vuln .card__title {
font-size: 28px;
margin-top: 0;
margin-right: 100px; /* Ensure space for the risk score */
}
.card--vuln .card__cta p {
margin: 0;
text-align: right;
}
.risk-score-display {
position: absolute;
top: 1.5em;
right: 1.5em;
text-align: right;
z-index: 10;
}
.risk-score-display__label {
font-size: 0.7em;
font-weight: bold;
color: #586069;
text-transform: uppercase;
line-height: 1;
margin-bottom: 3px;
}
.risk-score-display__value {
font-size: 1.9em;
font-weight: 600;
color: #24292e;
line-height: 1;
}
.source-panel {
clear: both;
display: flex;
justify-content: flex-start;
flex-direction: column;
align-items: flex-start;
padding: 0.5em 0;
width: fit-content;
}
</style>
<style type="text/css">
.metatable {
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-webkit-box-direction: normal;
color: inherit;
font-feature-settings: "pnum";
box-sizing: border-box;
background: transparent;
border: 0;
font: inherit;
font-size: 100%;
margin: 0;
outline: none;
padding: 0;
text-align: left;
text-decoration: none;
vertical-align: baseline;
z-index: auto;
margin-top: 12px;
border-collapse: collapse;
border-spacing: 0;
font-variant-numeric: tabular-nums;
max-width: 51.75em;
}
tbody {
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-webkit-box-direction: normal;
color: inherit;
font-feature-settings: "pnum";
border-collapse: collapse;
border-spacing: 0;
box-sizing: border-box;
background: transparent;
border: 0;
font: inherit;
font-size: 100%;
margin: 0;
outline: none;
padding: 0;
text-align: left;
text-decoration: none;
vertical-align: baseline;
z-index: auto;
display: flex;
flex-wrap: wrap;
}
.meta-row {
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-webkit-box-direction: normal;
color: inherit;
font-feature-settings: "pnum";
border-collapse: collapse;
border-spacing: 0;
box-sizing: border-box;
background: transparent;
border: 0;
font: inherit;
font-size: 100%;
outline: none;
text-align: left;
text-decoration: none;
vertical-align: baseline;
z-index: auto;
display: flex;
align-items: start;
border-top: 1px solid #d3d3d9;
padding: 8px 0 0 0;
border-bottom: none;
margin: 8px;
width: 47.75%;
}
.meta-row-label {
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-webkit-box-direction: normal;
font-feature-settings: "pnum";
border-collapse: collapse;
border-spacing: 0;
color: #4c4a73;
box-sizing: border-box;
background: transparent;
border: 0;
font: inherit;
margin: 0;
outline: none;
text-decoration: none;
z-index: auto;
align-self: start;
flex: 1;
font-size: 1rem;
line-height: 1.5rem;
padding: 0;
text-align: left;
vertical-align: top;
text-transform: none;
letter-spacing: 0;
}
.meta-row-value {
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-webkit-box-direction: normal;
color: inherit;
font-feature-settings: "pnum";
border-collapse: collapse;
border-spacing: 0;
word-break: break-word;
box-sizing: border-box;
background: transparent;
border: 0;
font: inherit;
font-size: 100%;
margin: 0;
outline: none;
padding: 0;
text-align: right;
text-decoration: none;
vertical-align: baseline;
z-index: auto;
}
</style>
</head>
<body class="section-projects">
<main class="layout-stacked">
<div class="layout-stacked__header header">
<header class="project__header">
<div class="layout-container">
<a class="brand" href="https://snyk.io" title="Snyk">
<svg width="68px" height="35px" viewBox="0 0 68 35" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img">
<title>Snyk - Open Source Security</title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#fff">
<path d="M5.732,27.278 C3.445,27.278 1.589,26.885 0,26.124 L0.483,22.472 C2.163,23.296 4.056,23.689 5.643,23.689 C6.801,23.689 7.563,23.295 7.563,22.599 C7.563,20.594 0.333,21.076 0.333,15.839 C0.333,12.491 3.407,10.729 7.259,10.729 C9.179,10.729 11.161,11.249 12.444,11.704 L11.924,15.294 C10.577,14.774 8.747,14.291 7.222,14.291 C6.282,14.291 5.518,14.621 5.518,15.231 C5.518,17.208 12.903,16.815 12.903,21.925 C12.903,25.325 9.877,27.277 5.733,27.277 L5.732,27.278 Z M25.726,26.936 L25.726,17.894 C25.726,15.827 24.811,14.85 23.069,14.85 C22.219,14.85 21.329,15.09 20.719,15.46 L20.719,26.936 L15.352,26.936 L15.352,11.262 L20.602,10.83 L20.474,13.392 L20.652,13.392 C21.784,11.87 23.702,10.716 25.992,10.716 C28.736,10.716 31.112,12.416 31.112,16.436 L31.112,26.936 L25.724,26.936 L25.726,26.936 Z M61.175,26.936 L56.879,19.479 L56.446,19.479 L56.446,26.935 L51.082,26.935 L51.082,8.37 L56.447,0 L56.447,17.323 C57.515,16.017 61.112,11.059 61.112,11.059 L67.732,11.059 L61.454,17.689 L67.949,26.95 L61.175,26.95 L61.175,26.938 L61.175,26.936 Z M44.13,11.11 L41.93,18.262 C41.5,19.606 41.08,22.079 41.08,22.079 C41.08,22.079 40.75,19.516 40.292,18.172 L37.94,11.108 L31.928,11.108 L38.462,26.935 C37.572,29.04 36.199,30.815 34.369,30.815 C34.039,30.815 33.709,30.802 33.389,30.765 L31.255,34.061 C31.928,34.441 33.212,34.835 34.737,34.835 C38.703,34.835 41.359,31.627 43.215,26.885 L49.443,11.108 L44.132,11.108 L44.13,11.11 Z"></path>
</g>
</g>
</svg>
</a>
<div class="header-wrap">
<h1 class="project__header__title">Snyk test report</h1>
<p class="timestamp">September 14th 2025, 12:26:50 am (UTC+00:00)</p>
</div>
<div class="source-panel">
<span>Scanned the following paths:</span>
<ul>
<li class="paths">/argo-cd/argoproj/argo-cd/v3/go.mod (gomodules)</li>
<li class="paths">/argo-cd/argoproj/argo-cd/get-previous-release/hack/get-previous-release/go.mod (gomodules)</li>
<li class="paths">/argo-cd/ui/yarn.lock (yarn)</li>
</ul>
</div>
<div class="meta-counts">
<div class="meta-count"><span>16</span> <span>known vulnerabilities</span></div>
<div class="meta-count"><span>106 vulnerable dependency paths</span></div>
<div class="meta-count"><span>2085</span> <span>dependencies</span></div>
</div><!-- .meta-counts -->
</div><!-- .layout-container--short -->
</header><!-- .project__header -->
</div><!-- .layout-stacked__header -->
<div class="layout-container" style="padding-top: 35px;">
<div class="cards--vuln filter--patch filter--ignore">
<div class="card card--vuln disclosure--not-new severity--critical" data-snyk-test="critical">
<h2 class="card__title">Predictable Value Range from Previous Values</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--critical">
<span class="label__text">critical severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
form-data
</li>
<li class="card__meta__item">Introduced through:
[email protected], [email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p>Affected versions of this package are vulnerable to Predictable Value Range from Previous Values via the <code>boundary</code> value, which uses <code>Math.random()</code>. An attacker can manipulate HTTP request boundaries by exploiting predictable values, potentially leading to HTTP parameter pollution.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>form-data</code> to version 2.5.4, 3.0.4, 4.0.4 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/form-data/form-data/commit/3d1723080e6577a66f17f163ecd345a21d8d0fd0">GitHub Commit</a></li>
<li><a href="https://github.com/form-data/form-data/commit/b88316c94bb004323669cd3639dc8bb8262539eb">GitHub Commit</a></li>
<li><a href="https://github.com/form-data/form-data/commit/c6ced61d4fae8f617ee2fd692133ed87baa5d0fd">GitHub Commit</a></li>
<li><a href="https://github.com/benweissmann/CVE-2025-7783-poc">POC</a></li>
<li><a href="https://github.com/form-data/form-data/blob/426ba9ac440f95d1998dac9a5cd8d738043b048f/lib/form_data.js#L347">Vulnerable Code</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-FORMDATA-10841150">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--high" data-snyk-test="high">
<h2 class="card__title">Prototype Pollution</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
redoc
</li>
<li class="card__meta__item">Introduced through:
[email protected] and [email protected]
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://www.npmjs.com/package/redoc">redoc</a> is an OpenAPI/Swagger-generated API Reference Documentation.</p>
<p>Affected versions of this package are vulnerable to Prototype Pollution via the <code>mergeObjects()</code> method in <code>utils/helpers.ts</code> due to improper user input sanitization.</p>
<h2 id="poc">PoC</h2>
<pre><code class="language-js">(async () =&gt; {
const lib = await import(&#39;redoc&#39;);
var BAD_JSON = JSON.parse(&#39;{&quot;__proto__&quot;:{&quot;polluted&quot;:true}}&#39;);
var victim = {}
console.log(&quot;Before Attack: &quot;, JSON.stringify(victim.__proto__));
try {
lib.mergeObjects ({}, BAD_JSON)
} catch (e) { }
console.log(&quot;After Attack: &quot;, JSON.stringify(victim.__proto__));
delete Object.prototype.polluted;
})();
</code></pre>
<h2 id="details">Details</h2>
<p>Prototype Pollution is a vulnerability affecting JavaScript. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. JavaScript allows all Object attributes to be altered, including their magical attributes such as <code>__proto__</code>, <code>constructor</code> and <code>prototype</code>. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values. Properties on the <code>Object.prototype</code> are then inherited by all the JavaScript objects through the prototype chain. When that happens, this leads to either denial of service by triggering JavaScript exceptions, or it tampers with the application source code to force the code path that the attacker injects, thereby leading to remote code execution.</p>
<p>There are two main ways in which the pollution of prototypes occurs:</p>
<ul>
<li><p>Unsafe <code>Object</code> recursive merge</p>
</li>
<li><p>Property definition by path</p>
</li>
</ul>
<h3 id="unsafe-object-recursive-merge">Unsafe Object recursive merge</h3>
<p>The logic of a vulnerable recursive merge function follows the following high-level model:</p>
<pre><code>merge (target, source)
foreach property of source
if property exists and is an object on both the target and the source
merge(target[property], source[property])
else
target[property] = source[property]
</code></pre>
<br>
<p>When the source object contains a property named <code>__proto__</code> defined with <code>Object.defineProperty()</code> , the condition that checks if the property exists and is an object on both the target and the source passes and the merge recurses with the target, being the prototype of <code>Object</code> and the source of <code>Object</code> as defined by the attacker. Properties are then copied on the <code>Object</code> prototype.</p>
<p>Clone operations are a special sub-class of unsafe recursive merges, which occur when a recursive merge is conducted on an empty object: <code>merge({},source)</code>.</p>
<p><code>lodash</code> and <code>Hoek</code> are examples of libraries susceptible to recursive merge attacks.</p>
<h3 id="property-definition-by-path">Property definition by path</h3>
<p>There are a few JavaScript libraries that use an API to define property values on an object based on a given path. The function that is generally affected contains this signature: <code>theFunction(object, path, value)</code></p>
<p>If the attacker can control the value of “path”, they can set this value to <code>__proto__.myValue</code>. <code>myValue</code> is then assigned to the prototype of the class of the object.</p>
<h2 id="types-of-attacks">Types of attacks</h2>
<p>There are a few methods by which Prototype Pollution can be manipulated:</p>
<table>
<thead>
<tr>
<th>Type</th>
<th>Origin</th>
<th>Short description</th>
</tr>
</thead>
<tbody><tr>
<td><strong>Denial of service (DoS)</strong></td>
<td>Client</td>
<td>This is the most likely attack. <br>DoS occurs when <code>Object</code> holds generic functions that are implicitly called for various operations (for example, <code>toString</code> and <code>valueOf</code>). <br> The attacker pollutes <code>Object.prototype.someattr</code> and alters its state to an unexpected value such as <code>Int</code> or <code>Object</code>. In this case, the code fails and is likely to cause a denial of service. <br><strong>For example:</strong> if an attacker pollutes <code>Object.prototype.toString</code> by defining it as an integer, if the codebase at any point was reliant on <code>someobject.toString()</code> it would fail.</td>
</tr>
<tr>
<td><strong>Remote Code Execution</strong></td>
<td>Client</td>
<td>Remote code execution is generally only possible in cases where the codebase evaluates a specific attribute of an object, and then executes that evaluation.<br><strong>For example:</strong> <code>eval(someobject.someattr)</code>. In this case, if the attacker pollutes <code>Object.prototype.someattr</code> they are likely to be able to leverage this in order to execute code.</td>
</tr>
<tr>
<td><strong>Property Injection</strong></td>
<td>Client</td>
<td>The attacker pollutes properties that the codebase relies on for their informative value, including security properties such as cookies or tokens.<br> <strong>For example:</strong> if a codebase checks privileges for <code>someuser.isAdmin</code>, then when the attacker pollutes <code>Object.prototype.isAdmin</code> and sets it to equal <code>true</code>, they can then achieve admin privileges.</td>
</tr>
</tbody></table>
<h2 id="affected-environments">Affected environments</h2>
<p>The following environments are susceptible to a Prototype Pollution attack:</p>
<ul>
<li><p>Application server</p>
</li>
<li><p>Web server</p>
</li>
<li><p>Web browser</p>
</li>
</ul>
<h2 id="how-to-prevent">How to prevent</h2>
<ol>
<li><p>Freeze the prototype— use <code>Object.freeze (Object.prototype)</code>.</p>
</li>
<li><p>Require schema validation of JSON input.</p>
</li>
<li><p>Avoid using unsafe recursive merge functions.</p>
</li>
<li><p>Consider using objects without prototypes (for example, <code>Object.create(null)</code>), breaking the prototype chain and preventing pollution.</p>
</li>
<li><p>As a best practice use <code>Map</code> instead of <code>Object</code>.</p>
</li>
</ol>
<h3 id="for-more-information-on-this-vulnerability-type">For more information on this vulnerability type:</h3>
<p><a href="https://github.com/HoLyVieR/prototype-pollution-nsec18/blob/master/paper/JavaScript_prototype_pollution_attack_in_NodeJS.pdf">Arteau, Oliver. “JavaScript prototype pollution attack in NodeJS application.” GitHub, 26 May 2018</a></p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>redoc</code> to version 2.4.0 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/Redocly/redoc/commit/153ec7a0b7245639f404c0b038b612ae7377c7db">GitHub Commit</a></li>
<li><a href="https://github.com/Redocly/redoc/issues/2499">GitHub Issue</a></li>
<li><a href="https://github.com/Redocly/redoc/releases/tag/v2.4.0">GitHub Release</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-REDOC-8664933">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--high" data-snyk-test="high">
<h2 class="card__title">Allocation of Resources Without Limits or Throttling</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Vulnerable module:
github.com/expr-lang/expr/vm
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected], github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872 and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p>Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the <code>parseExpression()</code> function in <code>parser.go</code>, due to the unrestricted size of input strings, which can cause the generation of large Abstract Syntax Trees (ASTs). An attacker can crash the application by supplying excessively long deeply nested expression strings.</p>
<h2 id="workaround">Workaround</h2>
<p>This vulnerability can be avoided by checking and limiting the length of input expressions before parsing them.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>github.com/expr-lang/expr/vm</code> to version 1.17.0 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/expr-lang/expr/commit/0d19441454426d2f58edb22c31f3ba5f99c7a26e">GitHub Commit</a></li>
<li><a href="https://github.com/expr-lang/expr/pull/762">GitHub PR</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMEXPRLANGEXPRVM-9460820">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--high" data-snyk-test="high">
<h2 class="card__title">Allocation of Resources Without Limits or Throttling</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Vulnerable module:
github.com/expr-lang/expr/parser
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected], github.com/expr-lang/[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p>Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the <code>parseExpression()</code> function in <code>parser.go</code>, due to the unrestricted size of input strings, which can cause the generation of large Abstract Syntax Trees (ASTs). An attacker can crash the application by supplying excessively long deeply nested expression strings.</p>
<h2 id="workaround">Workaround</h2>
<p>This vulnerability can be avoided by checking and limiting the length of input expressions before parsing them.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>github.com/expr-lang/expr/parser</code> to version 1.17.0 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/expr-lang/expr/commit/0d19441454426d2f58edb22c31f3ba5f99c7a26e">GitHub Commit</a></li>
<li><a href="https://github.com/expr-lang/expr/pull/762">GitHub PR</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMEXPRLANGEXPRPARSER-9460819">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--high" data-snyk-test="high">
<h2 class="card__title">Allocation of Resources Without Limits or Throttling</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Vulnerable module:
github.com/expr-lang/expr/conf
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected], github.com/expr-lang/[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/triggers@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/expr-lang/expr/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p>Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the <code>parseExpression()</code> function in <code>parser.go</code>, due to the unrestricted size of input strings, which can cause the generation of large Abstract Syntax Trees (ASTs). An attacker can crash the application by supplying excessively long deeply nested expression strings.</p>
<h2 id="workaround">Workaround</h2>
<p>This vulnerability can be avoided by checking and limiting the length of input expressions before parsing them.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>github.com/expr-lang/expr/conf</code> to version 1.17.0 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/expr-lang/expr/commit/0d19441454426d2f58edb22c31f3ba5f99c7a26e">GitHub Commit</a></li>
<li><a href="https://github.com/expr-lang/expr/pull/762">GitHub PR</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMEXPRLANGEXPRCONF-9460818">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--medium" data-snyk-test="medium">
<h2 class="card__title">MPL-2.0 license</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Module:
github.com/r3labs/diff/v3
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected] and github.com/r3labs/diff/[email protected]
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/r3labs/diff/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<p>MPL-2.0 license</p>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/snyk:lic:golang:github.com:r3labs:diff:v3:MPL-2.0">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--medium" data-snyk-test="medium">
<h2 class="card__title">MPL-2.0 license</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Module:
github.com/hashicorp/go-version
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected], code.gitea.io/sdk/[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
code.gitea.io/sdk/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<p>MPL-2.0 license</p>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/snyk:lic:golang:github.com:hashicorp:go-version:MPL-2.0">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--medium" data-snyk-test="medium">
<h2 class="card__title">MPL-2.0 license</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Module:
github.com/hashicorp/go-retryablehttp
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected] and github.com/hashicorp/[email protected]
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
gitlab.com/gitlab-org/api/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<p>MPL-2.0 license</p>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/snyk:lic:golang:github.com:hashicorp:go-retryablehttp:MPL-2.0">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--medium" data-snyk-test="medium">
<h2 class="card__title">MPL-2.0 license</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Module:
github.com/hashicorp/go-cleanhttp
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected], github.com/hashicorp/[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
gitlab.com/gitlab-org/api/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
gitlab.com/gitlab-org/api/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/cmd@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/api@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/controller@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/subscriptions@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/argoproj/notifications-engine/pkg/services@#87bf0576a872
<span class="list-paths__item__arrow">›</span>
github.com/opsgenie/opsgenie-go-sdk-v2/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/hashicorp/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<p>MPL-2.0 license</p>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/snyk:lic:golang:github.com:hashicorp:go-cleanhttp:MPL-2.0">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--medium" data-snyk-test="medium">
<h2 class="card__title">MPL-2.0 license</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd/argoproj/argo-cd/v3 <span class="list-paths__item__arrow">›</span> go.mod
</li>
<li class="card__meta__item">
Package Manager: golang
</li>
<li class="card__meta__item">
Module:
github.com/gosimple/slug
</li>
<li class="card__meta__item">Introduced through:
github.com/argoproj/argo-cd/[email protected] and github.com/gosimple/[email protected]
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
github.com/argoproj/argo-cd/[email protected]
<span class="list-paths__item__arrow">›</span>
github.com/gosimple/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<p>MPL-2.0 license</p>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/snyk:lic:golang:github.com:gosimple:slug:MPL-2.0">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--medium" data-snyk-test="medium">
<h2 class="card__title">Regular Expression Denial of Service (ReDoS)</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
foundation-sites
</li>
<li class="card__meta__item">Introduced through:
[email protected] and [email protected]
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://github.com/zurb/foundation-sites">foundation-sites</a> is a responsive front-end framework</p>
<p>Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to inefficient backtracking in the regular expressions used in URL forms.</p>
<h2 id="poc">PoC</h2>
<pre><code>https://www.&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;
</code></pre>
<h2 id="details">Details</h2>
<p>Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.</p>
<p>The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren&#39;t very intuitive and can ultimately end up making it easy for attackers to take your site down.</p>
<p>Let’s take the following regular expression as an example:</p>
<pre><code class="language-js">regex = /A(B|C+)+D/
</code></pre>
<p>This regular expression accomplishes the following:</p>
<ul>
<li><code>A</code> The string must start with the letter &#39;A&#39;</li>
<li><code>(B|C+)+</code> The string must then follow the letter A with either the letter &#39;B&#39; or some number of occurrences of the letter &#39;C&#39; (the <code>+</code> matches one or more times). The <code>+</code> at the end of this section states that we can look for one or more matches of this section.</li>
<li><code>D</code> Finally, we ensure this section of the string ends with a &#39;D&#39;</li>
</ul>
<p>The expression would match inputs such as <code>ABBD</code>, <code>ABCCCCD</code>, <code>ABCBCCCD</code> and <code>ACCCCCD</code></p>
<p>It most cases, it doesn&#39;t take very long for a regex engine to find a match:</p>
<pre><code class="language-bash">$ time node -e &#39;/A(B|C+)+D/.test(&quot;ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD&quot;)&#39;
0.04s user 0.01s system 95% cpu 0.052 total
$ time node -e &#39;/A(B|C+)+D/.test(&quot;ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX&quot;)&#39;
1.79s user 0.02s system 99% cpu 1.812 total
</code></pre>
<p>The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.</p>
<p>Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as <em>catastrophic backtracking</em>.</p>
<p>Let&#39;s look at how our expression runs into this problem, using a shorter string: &quot;ACCCX&quot;. While it seems fairly straightforward, there are still four different ways that the engine could match those three C&#39;s:</p>
<ol>
<li>CCC</li>
<li>CC+C</li>
<li>C+CC</li>
<li>C+C+C.</li>
</ol>
<p>The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use <a href="https://regex101.com/debugger">RegEx 101 debugger</a> to see the engine has to take a total of 38 steps before it can determine the string doesn&#39;t match.</p>
<p>From there, the number of steps the engine must use to validate a string just continues to grow.</p>
<table>
<thead>
<tr>
<th>String</th>
<th align="right">Number of C&#39;s</th>
<th align="right">Number of steps</th>
</tr>
</thead>
<tbody><tr>
<td>ACCCX</td>
<td align="right">3</td>
<td align="right">38</td>
</tr>
<tr>
<td>ACCCCX</td>
<td align="right">4</td>
<td align="right">71</td>
</tr>
<tr>
<td>ACCCCCX</td>
<td align="right">5</td>
<td align="right">136</td>
</tr>
<tr>
<td>ACCCCCCCCCCCCCCX</td>
<td align="right">14</td>
<td align="right">65,553</td>
</tr>
</tbody></table>
<p>By the time the string includes 14 C&#39;s, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.</p>
<h2 id="remediation">Remediation</h2>
<p>There is no fixed version for <code>foundation-sites</code>.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://securitylab.github.com/advisories/GHSL-2020-290-redos-foundation-sites">GitHub Advisory</a></li>
<li><a href="https://github.com/foundation/foundation-sites/issues/12180">GitHub Issue</a></li>
<li><a href="https://github.com/foundation/foundation-sites/blob/develop/js/foundation.abide.js#L864">Vulnerable Code</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-FOUNDATIONSITES-8310364">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--medium" data-snyk-test="medium">
<h2 class="card__title">Regular Expression Denial of Service (ReDoS)</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
@babel/runtime
</li>
<li class="card__meta__item">Introduced through:
[email protected], [email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@babel/[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p>Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the <code>replace()</code> method in <code>wrapRegExp.js</code>. An attacker can cause degradation in performance by supplying input strings that exploit the quadratic complexity of the replacement algorithm. </p>
<p>This is only exploitable when all of the following conditions are met: </p>
<ol>
<li><p>The code passes untrusted strings in the second argument to <code>.replace()</code>.</p>
</li>
<li><p>The compiled regular expressions being applied contain named capture groups.</p>
</li>
</ol>
<p>In the case of <code>@babel/preset-env</code>, if the <code>targets</code> option is in use the application will be vulnerable under either of the following conditions:</p>
<ol>
<li><p>A browser older than Chrome 64, Opera 71, Edge 79, Firefox 78, Safari 11.1, or Node.js 10 is used when processing named capture groups.</p>
</li>
<li><p>A browser older than Chrome/Edge 126, Opera 112, Firefox 129, Safari 17.4, or Node.js 23 is used when processing duplicated named capture groups.</p>
</li>
</ol>
<p><strong>Note:</strong> The project maintainers advise that &quot;just updating your Babel dependencies is not enough: you will also need to re-compile your code.&quot;</p>
<h2 id="workaround">Workaround</h2>
<p> This vulnerability can be avoided by filtering out input containing a <code>$&lt;</code> that is not followed by a <code>&gt;</code>.</p>
<h2 id="details">Details</h2>
<p>Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.</p>
<p>The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren&#39;t very intuitive and can ultimately end up making it easy for attackers to take your site down.</p>
<p>Let’s take the following regular expression as an example:</p>
<pre><code class="language-js">regex = /A(B|C+)+D/
</code></pre>
<p>This regular expression accomplishes the following:</p>
<ul>
<li><code>A</code> The string must start with the letter &#39;A&#39;</li>
<li><code>(B|C+)+</code> The string must then follow the letter A with either the letter &#39;B&#39; or some number of occurrences of the letter &#39;C&#39; (the <code>+</code> matches one or more times). The <code>+</code> at the end of this section states that we can look for one or more matches of this section.</li>
<li><code>D</code> Finally, we ensure this section of the string ends with a &#39;D&#39;</li>
</ul>
<p>The expression would match inputs such as <code>ABBD</code>, <code>ABCCCCD</code>, <code>ABCBCCCD</code> and <code>ACCCCCD</code></p>
<p>It most cases, it doesn&#39;t take very long for a regex engine to find a match:</p>
<pre><code class="language-bash">$ time node -e &#39;/A(B|C+)+D/.test(&quot;ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD&quot;)&#39;
0.04s user 0.01s system 95% cpu 0.052 total
$ time node -e &#39;/A(B|C+)+D/.test(&quot;ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX&quot;)&#39;
1.79s user 0.02s system 99% cpu 1.812 total
</code></pre>
<p>The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.</p>
<p>Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as <em>catastrophic backtracking</em>.</p>
<p>Let&#39;s look at how our expression runs into this problem, using a shorter string: &quot;ACCCX&quot;. While it seems fairly straightforward, there are still four different ways that the engine could match those three C&#39;s:</p>
<ol>
<li>CCC</li>
<li>CC+C</li>
<li>C+CC</li>
<li>C+C+C.</li>
</ol>
<p>The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use <a href="https://regex101.com/debugger">RegEx 101 debugger</a> to see the engine has to take a total of 38 steps before it can determine the string doesn&#39;t match.</p>
<p>From there, the number of steps the engine must use to validate a string just continues to grow.</p>
<table>
<thead>
<tr>
<th>String</th>
<th align="right">Number of C&#39;s</th>
<th align="right">Number of steps</th>
</tr>
</thead>
<tbody><tr>
<td>ACCCX</td>
<td align="right">3</td>
<td align="right">38</td>
</tr>
<tr>
<td>ACCCCX</td>
<td align="right">4</td>
<td align="right">71</td>
</tr>
<tr>
<td>ACCCCCX</td>
<td align="right">5</td>
<td align="right">136</td>
</tr>
<tr>
<td>ACCCCCCCCCCCCCCX</td>
<td align="right">14</td>
<td align="right">65,553</td>
</tr>
</tbody></table>
<p>By the time the string includes 14 C&#39;s, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>@babel/runtime</code> to version 7.26.10, 8.0.0-alpha.17 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/babel/babel/commit/d5952e80c0faa5ec20e35085531b6e572d31dad4">GitHub Commit</a></li>
<li><a href="https://gist.github.com/mmmsssttt404/1f066ed9237f514714f2cc022d631838">GitHub Gist</a></li>
<li><a href="https://github.com/babel/babel/pull/17173">GitHub PR</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-BABELRUNTIME-10044504">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--low" data-snyk-test="low">
<h2 class="card__title">Arbitrary Code Injection</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--low">
<span class="label__text">low severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
prismjs
</li>
<li class="card__meta__item">Introduced through:
[email protected], [email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="http://prismjs.com/">prismjs</a> is a lightweight, robust, elegant syntax highlighting library.</p>
<p>Affected versions of this package are vulnerable to Arbitrary Code Injection via the <code>document.currentScript</code> lookup process. An attacker can manipulate the web page content and execute unintended actions by injecting HTML elements that overshadow legitimate DOM elements.</p>
<p><strong>Note:</strong></p>
<p>This is only exploitable if the application accepts untrusted input containing HTML but not direct JavaScript.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>prismjs</code> to version 1.30.0 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/PrismJS/prism/commit/8e8b9352dac64457194dd9e51096b4772532e53d">GitHub Commit</a></li>
<li><a href="https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660">GitHub Gist</a></li>
<li><a href="https://github.com/PrismJS/prism/pull/3863">GitHub PR</a></li>
<li><a href="https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259">Vulnerable Code</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-PRISMJS-9055448">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--low" data-snyk-test="low">
<h2 class="card__title">Insecure Randomness</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--low">
<span class="label__text">low severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
formidable
</li>
<li class="card__meta__item">Introduced through:
[email protected], [email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p>Affected versions of this package are vulnerable to Insecure Randomness due to its use of the <code>hexoid()</code> function in the generation of fingerprint IDs.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>formidable</code> to version 2.1.3, 3.5.3 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/node-formidable/formidable/commit/022c2c5577dfe14d2947f10909d81b03b6070bf5">GitHub Commit</a></li>
<li><a href="https://github.com/zast-ai/vulnerability-reports/blob/main/formidable/file_upload/report.md">Vulnerability Report</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-FORMIDABLE-9788127">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--low" data-snyk-test="low">
<h2 class="card__title">Cross-site Scripting (XSS)</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--low">
<span class="label__text">low severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
dompurify
</li>
<li class="card__meta__item">Introduced through:
[email protected], [email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://github.com/cure53/DOMPurify">dompurify</a> is a DOM-only XSS sanitizer for HTML, MathML and SVG.</p>
<p>Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to incorrect handling of template literals in regular expressions. An attacker can manipulate the output of the script by injecting malicious payloads that bypass the <code>dompurify</code> sanitization.</p>
<h2 id="poc">PoC</h2>
<pre><code class="language-js">DOMPurify.sanitize(
`&lt;math&gt;&lt;foo-test&gt;&lt;mi&gt;&lt;li&gt;&lt;table&gt;&lt;foo-test&gt;&lt;li&gt;&lt;/li&gt;&lt;/foo-test&gt;&lt;a&gt;
&lt;style&gt;
&lt;! \${
&lt;/style&gt;
}
&lt;foo-b id=&quot;&gt;&lt;img src onerror=&#39;alert(1)&#39;&gt;&quot;&gt;hmm...&lt;/foo-b&gt;
&lt;/a&gt;&lt;/table&gt;&lt;/li&gt;&lt;/mi&gt;&lt;/foo-test&gt;&lt;/math&gt;
`,
{
SAFE_FOR_TEMPLATES: true,
CUSTOM_ELEMENT_HANDLING: {
tagNameCheck: /^foo-/,
},
}
);
</code></pre>
<h2 id="details">Details</h2>
<p>Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.</p>
<p>This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.</p>
<p>Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.</p>
<p>Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, <code>&lt;</code> can be coded as <code>&amp;lt</code>; and <code>&gt;</code> can be coded as <code>&amp;gt</code>; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses <code>&lt;</code> and <code>&gt;</code> as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.</p>
<p>The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware. </p>
<h3 id="types-of-attacks">Types of attacks</h3>
<p>There are a few methods by which XSS can be manipulated:</p>
<table>
<thead>
<tr>
<th>Type</th>
<th>Origin</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td><strong>Stored</strong></td>
<td>Server</td>
<td>The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.</td>
</tr>
<tr>
<td><strong>Reflected</strong></td>
<td>Server</td>
<td>The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.</td>
</tr>
<tr>
<td><strong>DOM-based</strong></td>
<td>Client</td>
<td>The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.</td>
</tr>
<tr>
<td><strong>Mutated</strong></td>
<td></td>
<td>The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.</td>
</tr>
</tbody></table>
<h3 id="affected-environments">Affected environments</h3>
<p>The following environments are susceptible to an XSS attack:</p>
<ul>
<li>Web servers</li>
<li>Application servers</li>
<li>Web application environments</li>
</ul>
<h3 id="how-to-prevent">How to prevent</h3>
<p>This section describes the top best practices designed to specifically protect your code: </p>
<ul>
<li>Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches. </li>
<li>Convert special characters such as <code>?</code>, <code>&amp;</code>, <code>/</code>, <code>&lt;</code>, <code>&gt;</code> and spaces to their respective HTML or URL encoded equivalents. </li>
<li>Give users the option to disable client-side scripts.</li>
<li>Redirect invalid requests.</li>
<li>Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.</li>
<li>Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.</li>
<li>Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.</li>
</ul>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>dompurify</code> to version 3.2.4 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02">GitHub Commit</a></li>
<li><a href="https://github.com/cure53/DOMPurify/releases/tag/3.2.4">GitHub Release</a></li>
<li><a href="https://ensy.zip/posts/dompurify-323-bypass/">Vulnerability Report</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-DOMPURIFY-8722251">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
<div class="card card--vuln disclosure--not-new severity--low" data-snyk-test="low">
<h2 class="card__title">Regular Expression Denial of Service (ReDoS)</h2>
<div class="card__section">
<div class="card__labels">
<div class="label label--low">
<span class="label__text">low severity</span>
</div>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Manifest file: /argo-cd <span class="list-paths__item__arrow">›</span> ui/yarn.lock
</li>
<li class="card__meta__item">
Package Manager: npm
</li>
<li class="card__meta__item">
Vulnerable module:
brace-expansion
</li>
<li class="card__meta__item">Introduced through:
[email protected], [email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
@redocly/[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
<span class="list-paths__item__arrow">›</span>
[email protected]
</span>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://github.com/juliangruber/brace-expansion">brace-expansion</a> is a Brace expansion as known from sh/bash</p>
<p>Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the <code>expand()</code> function, which is prone to catastrophic backtracking on very long malicious inputs.</p>
<h2 id="poc">PoC</h2>
<pre><code class="language-js">import index from &quot;./index.js&quot;;
let str = &quot;{a}&quot; + &quot;,&quot;.repeat(100000) + &quot;\u0000&quot;;
let startTime = performance.now();
const result = index(str);
let endTime = performance.now();
let timeTaken = endTime - startTime;
console.log(`匹配耗时: ${timeTaken.toFixed(3)} 毫秒`);
</code></pre>
<h2 id="details">Details</h2>
<p>Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.</p>
<p>The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren&#39;t very intuitive and can ultimately end up making it easy for attackers to take your site down.</p>
<p>Let’s take the following regular expression as an example:</p>
<pre><code class="language-js">regex = /A(B|C+)+D/
</code></pre>
<p>This regular expression accomplishes the following:</p>
<ul>
<li><code>A</code> The string must start with the letter &#39;A&#39;</li>
<li><code>(B|C+)+</code> The string must then follow the letter A with either the letter &#39;B&#39; or some number of occurrences of the letter &#39;C&#39; (the <code>+</code> matches one or more times). The <code>+</code> at the end of this section states that we can look for one or more matches of this section.</li>
<li><code>D</code> Finally, we ensure this section of the string ends with a &#39;D&#39;</li>
</ul>
<p>The expression would match inputs such as <code>ABBD</code>, <code>ABCCCCD</code>, <code>ABCBCCCD</code> and <code>ACCCCCD</code></p>
<p>It most cases, it doesn&#39;t take very long for a regex engine to find a match:</p>
<pre><code class="language-bash">$ time node -e &#39;/A(B|C+)+D/.test(&quot;ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD&quot;)&#39;
0.04s user 0.01s system 95% cpu 0.052 total
$ time node -e &#39;/A(B|C+)+D/.test(&quot;ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX&quot;)&#39;
1.79s user 0.02s system 99% cpu 1.812 total
</code></pre>
<p>The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.</p>
<p>Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as <em>catastrophic backtracking</em>.</p>
<p>Let&#39;s look at how our expression runs into this problem, using a shorter string: &quot;ACCCX&quot;. While it seems fairly straightforward, there are still four different ways that the engine could match those three C&#39;s:</p>
<ol>
<li>CCC</li>
<li>CC+C</li>
<li>C+CC</li>
<li>C+C+C.</li>
</ol>
<p>The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use <a href="https://regex101.com/debugger">RegEx 101 debugger</a> to see the engine has to take a total of 38 steps before it can determine the string doesn&#39;t match.</p>
<p>From there, the number of steps the engine must use to validate a string just continues to grow.</p>
<table>
<thead>
<tr>
<th>String</th>
<th align="right">Number of C&#39;s</th>
<th align="right">Number of steps</th>
</tr>
</thead>
<tbody><tr>
<td>ACCCX</td>
<td align="right">3</td>
<td align="right">38</td>
</tr>
<tr>
<td>ACCCCX</td>
<td align="right">4</td>
<td align="right">71</td>
</tr>
<tr>
<td>ACCCCCX</td>
<td align="right">5</td>
<td align="right">136</td>
</tr>
<tr>
<td>ACCCCCCCCCCCCCCX</td>
<td align="right">14</td>
<td align="right">65,553</td>
</tr>
</tbody></table>
<p>By the time the string includes 14 C&#39;s, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>brace-expansion</code> to version 1.1.12, 2.0.2, 3.0.1, 4.0.1 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/advisories/GHSA-v6h2-p8h4-qcjw">GitHub Advisory</a></li>
<li><a href="https://github.com/juliangruber/brace-expansion/commit/0b6a9781e18e9d2769bb2931f4856d1360243ed2">GitHub Commit</a></li>
<li><a href="https://gist.github.com/mmmsssttt404/37a40ce7d6e5ca604858fe30814d9466">GitHub Gist</a></li>
<li><a href="https://github.com/juliangruber/brace-expansion/pull/65">GitHub PR</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-9789073">More about this vulnerability</a></p>
</div>
</div><!-- .card -->
</div><!-- cards -->
</div>
</main><!-- .layout-stacked__content -->
</body>
</html>