Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tracking issue for npm audit fix commits #3555

Open
389-ds-bot opened this issue Sep 13, 2020 · 29 comments
Open

The tracking issue for npm audit fix commits #3555

389-ds-bot opened this issue Sep 13, 2020 · 29 comments
Labels
cockpit Cockpit UI Plugin security Security Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/50499


Issue Description

New vulnerabilities can arise from time to time in npm audit reports and they should be addressed by running npm audit fix. Sometimes it can require manual intrusion.

The PRs can be linked to this issue.

@389-ds-bot 389-ds-bot added cockpit Cockpit UI Plugin security Security Issue labels Sep 13, 2020
@389-ds-bot 389-ds-bot added this to the FUTURE milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from spichugi (@droideck) at 2019-07-16 00:47:14

#3556

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2019-07-16 00:47:15

Metadata Update from @droideck:

  • Custom field origin adjusted to None
  • Custom field reviewstatus adjusted to None

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-08-08 17:26:06

Metadata Update from @mreynolds389:

  • Issue set to the milestone: FUTURE

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2019-08-23 09:53:49


NPM audit report JSON:
{
  "actions": [
    {
      "action": "update",
      "resolves": [
        {
          "id": 1118,
          "path": "eslint>eslint-utils",
          "dev": true,
          "optional": false,
          "bundled": false
        },
        {
          "id": 1118,
          "path": "eslint-plugin-node>eslint-plugin-es>eslint-utils",
          "dev": true,
          "optional": false,
          "bundled": false
        },
        {
          "id": 1118,
          "path": "eslint-plugin-node>eslint-utils",
          "dev": true,
          "optional": false,
          "bundled": false
        }
      ],
      "module": "eslint-utils",
      "target": "1.4.2",
      "depth": 3
    }
  ],
  "advisories": {
    "1118": {
      "findings": [
        {
          "version": "1.3.1",
          "paths": [
            "eslint>eslint-utils",
            "eslint-plugin-node>eslint-plugin-es>eslint-utils",
            "eslint-plugin-node>eslint-utils"
          ]
        }
      ],
      "id": 1118,
      "created": "2019-08-20T15:17:53.538Z",
      "updated": "2019-08-22T18:54:18.136Z",
      "deleted": null,
      "title": "Arbitrary Code Execution",
      "found_by": {
        "link": "",
        "name": "Toru Nagashima"
      },
      "reported_by": {
        "link": "",
        "name": "Toru Nagashima"
      },
      "module_name": "eslint-utils",
      "cves": [],
      "vulnerable_versions": ">=1.2.0 <1.4.1",
      "patched_versions": ">=1.4.1",
      "overview": "Versions of `eslint-utils` >=1.2.0 or <1.4.1 are vulnerable to Arbitrary Code Execution. The `getStaticValue` does not properly sanitize user input allowing attackers to supply malicious input that executes arbitrary code during the linting process. The `getStringIfConstant` and `getPropertyName` functions are not affected.",
      "recommendation": "Upgrade to version 1.4.1 or later.",
      "references": "- [ESLint release](https://eslint.org/blog/2019/08/eslint-v6.2.1-released)\n- [eslint-utils advisory](https://github.com/mysticatea/eslint-utils/security/advisories/GHSA-3gx7-xhv7-5mx3)",
      "access": "public",
      "severity": "critical",
      "cwe": "CWE-94",
      "metadata": {
        "module_type": "",
        "exploitability": 3,
        "affected_components": ""
      },
      "url": "https://npmjs.com/advisories/1118"
    }
  },
  "muted": [],
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 0,
      "critical": 3
    },
    "dependencies": 2883,
    "devDependencies": 7047,
    "optionalDependencies": 280,
    "totalDependencies": 10113
  },
  "runId": "1dbb03fb-3b04-452f-8254-4440e9691b7b"
}
Failed security audit due to critical vulnerabilities.
Exiting...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] audit-ci: `audit-ci --config audit-ci.json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] audit-ci script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-08-23T07_50_04_578Z-debug.log

@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from spichugi (@droideck) at 2019-08-23 10:17:33

#3616

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-09-27 23:25:01

Commit 2e85b4a3 relates to this ticket

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-09-27 23:26:45

Fixes npm "handlebar" audit alert

Commit 2e85b4a relates to this ticket

67d69bf..4f84db6 389-ds-base-1.4.1 -> 389-ds-base-1.4.1

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2019-11-04 22:18:19

Commit 5202ad8b relates to this ticket

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2019-11-04 22:24:02

Fixes npm "handlebar" audit alert - again

1299143..5202ad8 master -> master
9c210f7..49c7044 389-ds-base-1.4.1 -> 389-ds-base-1.4.1

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-11-15 17:04:44

Commit b1d67c11 relates to this ticket

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2019-11-20 12:21:19

Commit 9f475988 relates to this ticket

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2019-12-11 16:02:58

Commit 80e0ce24 relates to this ticket
a9fa0ad..d619905 389-ds-base-1.4.1 -> 389-ds-base-1.4.1

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2020-03-09 22:46:50

Commit a66fe152 relates to this ticket

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2020-03-09 22:50:06

bf8b4af..a66fe15 master -> master
74046ab..1cda41b 389-ds-base-1.4.1 -> 389-ds-base-1.4.1
610d2f5..88b5cd3 389-ds-base-1.4.2 -> 389-ds-base-1.4.2

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2020-03-18 08:48:31

@droideck, nightly build failed due to https://www.npmjs.com/advisories/1179

    "vulnerabilities": {                                                                                                                          
      "info": 0,                                                                                                                                  
      "low": 0,                                                                                                                                   
      "moderate": 126,                                                                                                                            
      "high": 0,                                                                                                                                  
      "critical": 0                                                                                                                               
    }, 

Could you please take a look?

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2020-03-19 11:19:03

The build now works, since the vulnerability got lower severity, but it still needs to be fixed.

    "vulnerabilities": {
      "info": 0,
      "low": 126,
      "moderate": 0,
      "high": 0,
      "critical": 0
    },

@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from mreynolds (@mreynolds389) at 2020-04-24 17:02:07

Fixed latest audit issues, updated existing npm packages, and removed unused packages...

#4102

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2020-04-24 18:38:14

Commit 53e9d9f9 relates to this ticket

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2020-05-14 08:58:13

Nightly build failed due to npm audit ci:

    "vulnerabilities": {
      "info": 0,
      "low": 8,
      "moderate": 17,
      "high": 0,
      "critical": 0
    },

https://npmjs.com/advisories/1500
https://npmjs.com/advisories/1518

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2020-05-15 16:06:39

Commit 9afa6694 relates to this ticket

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2020-05-15 16:08:41

Commit 9afa669 relates to this ticket

d3ae07a..d411837 389-ds-base-1.4.3 -> 389-ds-base-1.4.3

703d857..14c7a3c 389-ds-base-1.4.2 -> 389-ds-base-1.4.2

41e0f4b..62cc505 389-ds-base-1.4.1 -> 389-ds-base-1.4.1

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2020-05-27 12:27:16

Another one https://www.npmjs.com/advisories/1522 (high)

droideck added a commit that referenced this issue Oct 13, 2020
Description: Update dependencies which have vulnarabilities
and remove unused deps:
- eonasdan-bootstrap-datetimepicker;
- react-ellipsis-with-tooltip;
- recompose;

Relates: #3555

Reviewed by: @mreynolds389 (Thanks!)
lab-at-nohl pushed a commit to lab-at-nohl/cockpit-389-ds-containerproxy that referenced this issue May 9, 2024
Description:

Ran npm audit fix to address vulnerability in nanoid

relates: 389ds/389-ds-base#3555

Reviewed by: mreynolds
lab-at-nohl pushed a commit to lab-at-nohl/cockpit-389-ds-containerproxy that referenced this issue May 9, 2024
Description: Run npm audit fix to address the vulnerability
in word-wrap and semver.

Relates: 389ds/389-ds-base#3555

Reviewed by: @mreynolds389 (Thanks!)
lab-at-nohl pushed a commit to lab-at-nohl/cockpit-389-ds-containerproxy that referenced this issue May 9, 2024
Description: Run npm audit fix to address the vulnerability
in babel/traverse.

Relates: 389ds/389-ds-base#3555

Reviewed by: @progier389 (Thanks!)
lab-at-nohl pushed a commit to lab-at-nohl/cockpit-389-ds-containerproxy that referenced this issue May 9, 2024
Description: We use npx for audit-ci runs. Hence we don't need the
package installed at all.
Remove audit-ci from package.json and a new generate package-lock.json.

Related: 389ds/389-ds-base#3555

Reviewed by: @vashirov (Thanks!)
droideck added a commit to droideck/389-ds-base that referenced this issue Aug 27, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: 389ds#3555

Reviewed by: ?
progier389 pushed a commit that referenced this issue Aug 27, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
droideck added a commit that referenced this issue Aug 28, 2024
Description: Run npm audit fix to address the vulnerability
in micromatch.

Relates: #3555

Reviewed by: @progier389
@droideck
Copy link
Member

b3b72a3..812d058 389-ds-base-3.0 -> 389-ds-base-3.0
776f0e2..4de8658 389-ds-base-2.5 -> 389-ds-base-2.5
7bdd19c..593faba 389-ds-base-2.4 -> 389-ds-base-2.4
ebdbf2e..2b06fd2 389-ds-base-2.3 -> 389-ds-base-2.3
e11fb32..0a3eeac 389-ds-base-2.2 -> 389-ds-base-2.2
66550f0..b6523e3 389-ds-base-2.1 -> 389-ds-base-2.1
27daab1..4a13e4d 389-ds-base-2.0 -> 389-ds-base-2.0
0c184e1..09fb500 389-ds-base-1.4.3 -> 389-ds-base-1.4.3

vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
vashirov added a commit that referenced this issue Dec 16, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555
@vashirov
Copy link
Member

62b860e..d968f3b 389-ds-base-1.4.3 -> 389-ds-base-1.4.3
64bd885..6cc6112 389-ds-base-1.4.4 -> 389-ds-base-1.4.4
5117a42..784b6e3 389-ds-base-2.0 -> 389-ds-base-2.0
d073b7f..51b11a7 389-ds-base-2.1 -> 389-ds-base-2.1
c745cf7..c475c8c 389-ds-base-2.2 -> 389-ds-base-2.2
1418137..9c40f3d 389-ds-base-2.3 -> 389-ds-base-2.3
5c56cd3..4172ebf 389-ds-base-2.4 -> 389-ds-base-2.4
027015f..71f9a90 389-ds-base-2.5 -> 389-ds-base-2.5
5c9e1b6..ee2d8c9 389-ds-base-3.0 -> 389-ds-base-3.0

vashirov added a commit to vashirov/389-ds-base that referenced this issue Dec 17, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: 389ds#3555
vashirov added a commit to vashirov/389-ds-base that referenced this issue Dec 17, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: 389ds#3555

Reviewed by: @progier389 (Thanks!)
vashirov added a commit that referenced this issue Dec 17, 2024
Description:
Update npm packages to fix issues reported by npm audit

Relates: #3555

Reviewed by: @progier389 (Thanks!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cockpit Cockpit UI Plugin security Security Issue
Projects
None yet
Development

No branches or pull requests

4 participants