Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CVE–2022–31129![shield](https://camo.githubusercontent.com/b8f724418ae7cfc49f32b37ca17dd3033f364be653c0fddcca6b66f35770c420/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f68696768332d322d30312e737667)
Vulnerable dependency: moment (npm)
2.29.3
Vulnerability details
Description
NVD
GitHub
CVSS details -
7.5
References
NVD - CVE-2022-31129![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
![link](https://camo.githubusercontent.com/4a515ad49f4d2866ad4954f3c26852ce00f654ca3e734a2d6d2c3351b380b7e2/68747470733a2f2f6465627269636b65642e636f6d2f6d656469612f696d616765732f64656661756c745f696d616765732f6d61726b646f776e2f70756c6c5f726571756573742f6c696e6b2d70722d30312e737667)
Inefficient Regular Expression Complexity in moment · CVE-2022-31129 · GitHub Advisory Database · GitHub
[bugfix] Fix redos in preprocessRFC2822 regex (#6015) · moment/moment@9a3b589 · GitHub
[bugfix] Fix redos in preprocessRFC2822 regex by vovikhangcdv · Pull Request #6015 · moment/moment · GitHub
Inefficient Regular Expression Complexity in moment · Advisory · moment/moment · GitHub
Regular Expression Denial of Service (ReDoS) vulnerability found in moment
moment/from-string.js at develop · moment/moment · GitHub
Found a possible security concern · Issue #6014 · moment/moment · GitHub
GitHub - moment/moment: Parse, validate, manipulate, and display dates in javascript.
THIRD PARTY
Related information
📌 Remember! Check the changes to ensure they don't introduce any breaking changes.
📚 Read more about the CVE