Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Audit vulnerabilities in transitive package of patternfly-react #1207

@pratap0007

Description

@pratap0007

Describe the issue. What is the expected and unexpected behavior?

  • Currently while using patternfly-react's latest version i.e 4.40.3 on excuting the npm audit it gives vulnerability in transitive package of patternfly-react
"dependencies": {
    "@patternfly/react-charts": "^5.0.13",
    "@patternfly/react-core": "4.40.3",
    "@patternfly/react-styles": "^3.5.27",
    "@patternfly/react-topology": "^2.8.65",
    "@types/node": "12.13.0",
    "@types/react": "16.9.7",
    "patternfly-react": "^2.39.5",
    "react": "^16.10.2",
  },

  • Here's the audit report for patternfly-react
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ dot-prop                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in>=5.1.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ patternfly-react                                             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ patternfly-react > react-ellipsis-with-tooltip >             │
│               │ semantic-release > @semantic-release/npm > npm > libnpx >    │
│               │ update-notifier > configstore > dot-prop                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1213                            │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ dot-prop                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in>=5.1.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ patternfly-react                                             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ patternfly-react > react-ellipsis-with-tooltip >             │
│               │ semantic-release > @semantic-release/npm > npm >             │
│               │ update-notifier > configstore > dot-prop                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1213                            │
└───────────────┴──────────────────────────────────────────────────────────────┘

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Cross-Site Scripting                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ bootstrap-select                                             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in>=1.13.6                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ patternfly-react                                             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ patternfly-react > patternfly > bootstrap-select             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1522                            │
└───────────────┴──────────────────────────────────────────────────────────────┘

Please provide the steps to reproduce. Feel free to link CodeSandbox or another tool.

Is this a bug or enhancement? If this issue is a bug, is this issue blocking you or is there a work-around?

What is your product and what release version are you targeting?

Metadata

Metadata

Assignees

No one assigned

    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