Skip to content

fast-xml-parser dependency has high vulnerabilities #61

@b00ga

Description

@b00ga

This library is getting installed when I npm install @mitre/saf and npm reports there are vulnerabilities to check. When I run npm audit, it reports the following for this lib's fast-xml-parser dependency:

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ fast-xml-parser vulnerable to Regex Injection via Doctype    │
│               │ Entities                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ fast-xml-parser                                              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.2.4                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @mitre/saf                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @mitre/saf > @mitre/inspec-objects > fast-xml-parser         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-6w63-h3fj-q4vw            │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ fast-xml-parser vulnerable to Prototype Pollution through    │
│               │ tag or attribute name                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ fast-xml-parser                                              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.1.2                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @mitre/saf                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @mitre/saf > @mitre/inspec-objects > fast-xml-parser         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-x3cc-x39p-42qx            │
└───────────────┴──────────────────────────────────────────────────────────────┘

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions