$ date
--- stdout ---
Fri Mar 24 19:58:18 UTC 2023
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-GraphQL.git repo --depth=1 -b master
--- stderr ---
Cloning into 'repo'...
--- stdout ---
--- end ---
$ git config user.name libraryupgrader
--- stdout ---
--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---
--- end ---
$ git submodule update --init
--- stdout ---
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/master
--- stdout ---
a839389fd52e9f71e9e513e6eb9caf4028cc5701 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"chokidar": {
"name": "chokidar",
"severity": "high",
"isDirect": false,
"via": [
"glob-parent"
],
"effects": [
"watchpack-chokidar2"
],
"range": "1.0.0-rc1 - 2.1.8",
"nodes": [
"node_modules/watchpack-chokidar2/node_modules/chokidar"
],
"fixAvailable": true
},
"codemirror-graphql": {
"name": "codemirror-graphql",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-language-service-interface"
],
"effects": [
"graphiql"
],
"range": "0.6.12 - 0.8.3",
"nodes": [
"node_modules/codemirror-graphql"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"cross-fetch": {
"name": "cross-fetch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1088709,
"name": "cross-fetch",
"dependency": "cross-fetch",
"title": "Incorrect Authorization in cross-fetch",
"url": "https://github.com/advisories/GHSA-7gc6-qh9x-w6h8",
"severity": "moderate",
"cwe": [
"CWE-359",
"CWE-863"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<2.2.6"
},
"node-fetch"
],
"effects": [
"graphql-request"
],
"range": "<=2.2.5 || 3.0.0 - 3.1.4 || >=3.2.0-alpha.0",
"nodes": [
"node_modules/cross-fetch"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"glob-parent": {
"name": "glob-parent",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091181,
"name": "glob-parent",
"dependency": "glob-parent",
"title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex",
"url": "https://github.com/advisories/GHSA-ww39-953v-wcq6",
"severity": "high",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<5.1.2"
}
],
"effects": [
"chokidar"
],
"range": "<5.1.2",
"nodes": [
"node_modules/watchpack-chokidar2/node_modules/glob-parent"
],
"fixAvailable": true
},
"graphiql": {
"name": "graphiql",
"severity": "high",
"isDirect": true,
"via": [
{
"source": 1089589,
"name": "graphiql",
"dependency": "graphiql",
"title": "GraphiQL introspection schema template injection attack",
"url": "https://github.com/advisories/GHSA-x4r7-m2q9-69c8",
"severity": "high",
"cwe": [
"CWE-79"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L"
},
"range": ">=0.5.0 <1.4.7"
},
"codemirror-graphql",
"markdown-it"
],
"effects": [],
"range": "0.5.0 - 1.4.7-canary-85a66743.0",
"nodes": [
"node_modules/graphiql"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-config": {
"name": "graphql-config",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-request"
],
"effects": [
"graphql-language-service-interface",
"graphql-language-service-utils"
],
"range": "0.0.0-experimental.0 || 1.0.8 - 3.0.0-rc.3",
"nodes": [
"node_modules/graphql-config"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-language-service-interface": {
"name": "graphql-language-service-interface",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-config",
"graphql-language-service-utils"
],
"effects": [
"codemirror-graphql"
],
"range": "1.0.16 - 2.4.0-alpha.11",
"nodes": [
"node_modules/graphql-language-service-interface"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-language-service-utils": {
"name": "graphql-language-service-utils",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-config"
],
"effects": [
"graphql-language-service-interface"
],
"range": "1.0.16 - 2.4.0-alpha.9",
"nodes": [
"node_modules/graphql-language-service-utils"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-request": {
"name": "graphql-request",
"severity": "moderate",
"isDirect": false,
"via": [
"cross-fetch"
],
"effects": [
"graphql-config"
],
"range": "1.4.0 - 1.8.2",
"nodes": [
"node_modules/graphql-request"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"markdown-it": {
"name": "markdown-it",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1090461,
"name": "markdown-it",
"dependency": "markdown-it",
"title": "Uncontrolled Resource Consumption in markdown-it",
"url": "https://github.com/advisories/GHSA-6vfc-qv3f-vr6c",
"severity": "moderate",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<12.3.2"
}
],
"effects": [
"graphiql"
],
"range": "<12.3.2",
"nodes": [
"node_modules/markdown-it"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"node-fetch": {
"name": "node-fetch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1086487,
"name": "node-fetch",
"dependency": "node-fetch",
"title": "The `size` option isn't honored after following a redirect in node-fetch",
"url": "https://github.com/advisories/GHSA-w7rc-rwvf-8q5r",
"severity": "low",
"cwe": [
"CWE-20",
"CWE-770"
],
"cvss": {
"score": 2.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L"
},
"range": "<2.6.1"
},
{
"source": 1091239,
"name": "node-fetch",
"dependency": "node-fetch",
"title": "node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor",
"url": "https://github.com/advisories/GHSA-r683-j2x4-v87g",
"severity": "high",
"cwe": [
"CWE-173",
"CWE-200",
"CWE-601"
],
"cvss": {
"score": 8.8,
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<2.6.7"
}
],
"effects": [
"cross-fetch"
],
"range": "<=2.6.6",
"nodes": [
"node_modules/node-fetch"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"watchpack": {
"name": "watchpack",
"severity": "high",
"isDirect": false,
"via": [
"watchpack-chokidar2"
],
"effects": [],
"range": "1.7.2 - 1.7.5",
"nodes": [
"node_modules/watchpack"
],
"fixAvailable": true
},
"watchpack-chokidar2": {
"name": "watchpack-chokidar2",
"severity": "high",
"isDirect": false,
"via": [
"chokidar"
],
"effects": [
"watchpack"
],
"range": "*",
"nodes": [
"node_modules/watchpack-chokidar2"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 6,
"high": 7,
"critical": 0,
"total": 13
},
"dependencies": {
"prod": 167,
"dev": 739,
"optional": 26,
"peer": 0,
"peerOptional": 0,
"total": 905
}
}
}
--- end ---
$ /usr/bin/composer install
--- stderr ---
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Info from https://repo.packagist.org: [37;44m#StandWith[30;43mUkraine[0m
Updating dependencies
Lock file operations: 21 installs, 0 updates, 0 removals
- Locking composer/semver (3.3.2)
- Locking composer/spdx-licenses (1.5.7)
- Locking mediawiki/mediawiki-codesniffer (v41.0.0)
- Locking mediawiki/minus-x (1.1.1)
- Locking overblog/dataloader-php (v0.5.3)
- Locking php-parallel-lint/php-console-color (v1.0.1)
- Locking php-parallel-lint/php-console-highlighter (v1.0.0)
- Locking php-parallel-lint/php-parallel-lint (v1.3.2)
- Locking psr/container (1.1.2)
- Locking squizlabs/php_codesniffer (3.7.2)
- Locking symfony/console (v5.4.21)
- Locking symfony/deprecation-contracts (v2.5.2)
- Locking symfony/polyfill-ctype (v1.27.0)
- Locking symfony/polyfill-intl-grapheme (v1.27.0)
- Locking symfony/polyfill-intl-normalizer (v1.27.0)
- Locking symfony/polyfill-mbstring (v1.27.0)
- Locking symfony/polyfill-php73 (v1.27.0)
- Locking symfony/polyfill-php80 (v1.27.0)
- Locking symfony/service-contracts (v2.5.2)
- Locking symfony/string (v5.4.21)
- Locking webonyx/graphql-php (v0.13.9)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 21 installs, 0 updates, 0 removals
- Downloading overblog/dataloader-php (v0.5.3)
- Downloading webonyx/graphql-php (v0.13.9)
0/2 [>---------------------------] 0%
2/2 [============================] 100% - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
- Installing squizlabs/php_codesniffer (3.7.2): Extracting archive
- Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
- Installing composer/spdx-licenses (1.5.7): Extracting archive
- Installing composer/semver (3.3.2): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v41.0.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
- Installing symfony/string (v5.4.21): Extracting archive
- Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.2): Extracting archive
- Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
- Installing symfony/console (v5.4.21): Extracting archive
- Installing mediawiki/minus-x (1.1.1): Extracting archive
- Installing overblog/dataloader-php (v0.5.3): Extracting archive
- Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
- Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.3.2): Extracting archive
- Installing webonyx/graphql-php (v0.13.9): Extracting archive
0/12 [>---------------------------] 0%
10/12 [=======================>----] 83%
12/12 [============================] 100%9 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
13 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"chokidar": {
"name": "chokidar",
"severity": "high",
"isDirect": false,
"via": [
"glob-parent"
],
"effects": [
"watchpack-chokidar2"
],
"range": "1.0.0-rc1 - 2.1.8",
"nodes": [
"node_modules/watchpack-chokidar2/node_modules/chokidar"
],
"fixAvailable": true
},
"codemirror-graphql": {
"name": "codemirror-graphql",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-language-service-interface"
],
"effects": [
"graphiql"
],
"range": "0.6.12 - 0.8.3",
"nodes": [
"node_modules/codemirror-graphql"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"cross-fetch": {
"name": "cross-fetch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1088709,
"name": "cross-fetch",
"dependency": "cross-fetch",
"title": "Incorrect Authorization in cross-fetch",
"url": "https://github.com/advisories/GHSA-7gc6-qh9x-w6h8",
"severity": "moderate",
"cwe": [
"CWE-359",
"CWE-863"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<2.2.6"
},
"node-fetch"
],
"effects": [
"graphql-request"
],
"range": "<=2.2.5 || 3.0.0 - 3.1.4 || >=3.2.0-alpha.0",
"nodes": [
"node_modules/cross-fetch"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"glob-parent": {
"name": "glob-parent",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091181,
"name": "glob-parent",
"dependency": "glob-parent",
"title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex",
"url": "https://github.com/advisories/GHSA-ww39-953v-wcq6",
"severity": "high",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<5.1.2"
}
],
"effects": [
"chokidar"
],
"range": "<5.1.2",
"nodes": [
"node_modules/watchpack-chokidar2/node_modules/glob-parent"
],
"fixAvailable": true
},
"graphiql": {
"name": "graphiql",
"severity": "high",
"isDirect": true,
"via": [
{
"source": 1089589,
"name": "graphiql",
"dependency": "graphiql",
"title": "GraphiQL introspection schema template injection attack",
"url": "https://github.com/advisories/GHSA-x4r7-m2q9-69c8",
"severity": "high",
"cwe": [
"CWE-79"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L"
},
"range": ">=0.5.0 <1.4.7"
},
"codemirror-graphql",
"markdown-it"
],
"effects": [],
"range": "0.5.0 - 1.4.7-canary-85a66743.0",
"nodes": [
"node_modules/graphiql"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-config": {
"name": "graphql-config",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-request"
],
"effects": [
"graphql-language-service-interface",
"graphql-language-service-utils"
],
"range": "0.0.0-experimental.0 || 1.0.8 - 3.0.0-rc.3",
"nodes": [
"node_modules/graphql-config"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-language-service-interface": {
"name": "graphql-language-service-interface",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-config",
"graphql-language-service-utils"
],
"effects": [
"codemirror-graphql"
],
"range": "1.0.16 - 2.4.0-alpha.11",
"nodes": [
"node_modules/graphql-language-service-interface"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-language-service-utils": {
"name": "graphql-language-service-utils",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-config"
],
"effects": [
"graphql-language-service-interface"
],
"range": "1.0.16 - 2.4.0-alpha.9",
"nodes": [
"node_modules/graphql-language-service-utils"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-request": {
"name": "graphql-request",
"severity": "moderate",
"isDirect": false,
"via": [
"cross-fetch"
],
"effects": [
"graphql-config"
],
"range": "1.4.0 - 1.8.2",
"nodes": [
"node_modules/graphql-request"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"markdown-it": {
"name": "markdown-it",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1090461,
"name": "markdown-it",
"dependency": "markdown-it",
"title": "Uncontrolled Resource Consumption in markdown-it",
"url": "https://github.com/advisories/GHSA-6vfc-qv3f-vr6c",
"severity": "moderate",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<12.3.2"
}
],
"effects": [
"graphiql"
],
"range": "<12.3.2",
"nodes": [
"node_modules/markdown-it"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"node-fetch": {
"name": "node-fetch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1086487,
"name": "node-fetch",
"dependency": "node-fetch",
"title": "The `size` option isn't honored after following a redirect in node-fetch",
"url": "https://github.com/advisories/GHSA-w7rc-rwvf-8q5r",
"severity": "low",
"cwe": [
"CWE-20",
"CWE-770"
],
"cvss": {
"score": 2.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L"
},
"range": "<2.6.1"
},
{
"source": 1091239,
"name": "node-fetch",
"dependency": "node-fetch",
"title": "node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor",
"url": "https://github.com/advisories/GHSA-r683-j2x4-v87g",
"severity": "high",
"cwe": [
"CWE-173",
"CWE-200",
"CWE-601"
],
"cvss": {
"score": 8.8,
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<2.6.7"
}
],
"effects": [
"cross-fetch"
],
"range": "<=2.6.6",
"nodes": [
"node_modules/node-fetch"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"watchpack": {
"name": "watchpack",
"severity": "high",
"isDirect": false,
"via": [
"watchpack-chokidar2"
],
"effects": [],
"range": "1.7.2 - 1.7.5",
"nodes": [
"node_modules/watchpack"
],
"fixAvailable": true
},
"watchpack-chokidar2": {
"name": "watchpack-chokidar2",
"severity": "high",
"isDirect": false,
"via": [
"chokidar"
],
"effects": [
"watchpack"
],
"range": "*",
"nodes": [
"node_modules/watchpack-chokidar2"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 6,
"high": 7,
"critical": 0,
"total": 13
},
"dependencies": {
"prod": 167,
"dev": 739,
"optional": 26,
"peer": 0,
"peerOptional": 0,
"total": 905
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json --legacy-peer-deps
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
--- stdout ---
{
"added": 905,
"removed": 0,
"changed": 0,
"audited": 906,
"funding": 47,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"chokidar": {
"name": "chokidar",
"severity": "high",
"isDirect": false,
"via": [
"glob-parent"
],
"effects": [
"watchpack-chokidar2"
],
"range": "1.0.0-rc1 - 2.1.8",
"nodes": [
"node_modules/watchpack-chokidar2/node_modules/chokidar"
],
"fixAvailable": true
},
"codemirror-graphql": {
"name": "codemirror-graphql",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-language-service-interface"
],
"effects": [
"graphiql"
],
"range": "0.6.12 - 0.8.3",
"nodes": [
"node_modules/codemirror-graphql"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"cross-fetch": {
"name": "cross-fetch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1088709,
"name": "cross-fetch",
"dependency": "cross-fetch",
"title": "Incorrect Authorization in cross-fetch",
"url": "https://github.com/advisories/GHSA-7gc6-qh9x-w6h8",
"severity": "moderate",
"cwe": [
"CWE-359",
"CWE-863"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<2.2.6"
},
"node-fetch"
],
"effects": [
"graphql-request"
],
"range": "<=2.2.5 || 3.0.0 - 3.1.4 || >=3.2.0-alpha.0",
"nodes": [
"node_modules/cross-fetch"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"glob-parent": {
"name": "glob-parent",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091181,
"name": "glob-parent",
"dependency": "glob-parent",
"title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex",
"url": "https://github.com/advisories/GHSA-ww39-953v-wcq6",
"severity": "high",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<5.1.2"
}
],
"effects": [
"chokidar"
],
"range": "<5.1.2",
"nodes": [
"node_modules/watchpack-chokidar2/node_modules/glob-parent"
],
"fixAvailable": true
},
"graphiql": {
"name": "graphiql",
"severity": "high",
"isDirect": true,
"via": [
{
"source": 1089589,
"name": "graphiql",
"dependency": "graphiql",
"title": "GraphiQL introspection schema template injection attack",
"url": "https://github.com/advisories/GHSA-x4r7-m2q9-69c8",
"severity": "high",
"cwe": [
"CWE-79"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L"
},
"range": ">=0.5.0 <1.4.7"
},
"codemirror-graphql",
"markdown-it"
],
"effects": [],
"range": "0.5.0 - 1.4.7-canary-85a66743.0",
"nodes": [
"node_modules/graphiql"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-config": {
"name": "graphql-config",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-request"
],
"effects": [
"graphql-language-service-interface",
"graphql-language-service-utils"
],
"range": "0.0.0-experimental.0 || 1.0.8 - 3.0.0-rc.3",
"nodes": [
"node_modules/graphql-config"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-language-service-interface": {
"name": "graphql-language-service-interface",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-config",
"graphql-language-service-utils"
],
"effects": [
"codemirror-graphql"
],
"range": "1.0.16 - 2.4.0-alpha.11",
"nodes": [
"node_modules/graphql-language-service-interface"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-language-service-utils": {
"name": "graphql-language-service-utils",
"severity": "moderate",
"isDirect": false,
"via": [
"graphql-config"
],
"effects": [
"graphql-language-service-interface"
],
"range": "1.0.16 - 2.4.0-alpha.9",
"nodes": [
"node_modules/graphql-language-service-utils"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"graphql-request": {
"name": "graphql-request",
"severity": "moderate",
"isDirect": false,
"via": [
"cross-fetch"
],
"effects": [
"graphql-config"
],
"range": "1.4.0 - 1.8.2",
"nodes": [
"node_modules/graphql-request"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"markdown-it": {
"name": "markdown-it",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1090461,
"name": "markdown-it",
"dependency": "markdown-it",
"title": "Uncontrolled Resource Consumption in markdown-it",
"url": "https://github.com/advisories/GHSA-6vfc-qv3f-vr6c",
"severity": "moderate",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<12.3.2"
}
],
"effects": [
"graphiql"
],
"range": "<12.3.2",
"nodes": [
"node_modules/markdown-it"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"node-fetch": {
"name": "node-fetch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1086487,
"name": "node-fetch",
"dependency": "node-fetch",
"title": "The `size` option isn't honored after following a redirect in node-fetch",
"url": "https://github.com/advisories/GHSA-w7rc-rwvf-8q5r",
"severity": "low",
"cwe": [
"CWE-20",
"CWE-770"
],
"cvss": {
"score": 2.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L"
},
"range": "<2.6.1"
},
{
"source": 1091239,
"name": "node-fetch",
"dependency": "node-fetch",
"title": "node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor",
"url": "https://github.com/advisories/GHSA-r683-j2x4-v87g",
"severity": "high",
"cwe": [
"CWE-173",
"CWE-200",
"CWE-601"
],
"cvss": {
"score": 8.8,
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<2.6.7"
}
],
"effects": [
"cross-fetch"
],
"range": "<=2.6.6",
"nodes": [
"node_modules/node-fetch"
],
"fixAvailable": {
"name": "graphiql",
"version": "2.4.0",
"isSemVerMajor": true
}
},
"watchpack": {
"name": "watchpack",
"severity": "high",
"isDirect": false,
"via": [
"watchpack-chokidar2"
],
"effects": [],
"range": "1.7.2 - 1.7.5",
"nodes": [
"node_modules/watchpack"
],
"fixAvailable": true
},
"watchpack-chokidar2": {
"name": "watchpack-chokidar2",
"severity": "high",
"isDirect": false,
"via": [
"chokidar"
],
"effects": [
"watchpack"
],
"range": "*",
"nodes": [
"node_modules/watchpack-chokidar2"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 6,
"high": 7,
"critical": 0,
"total": 13
},
"dependencies": {
"prod": 167,
"dev": 739,
"optional": 26,
"peer": 0,
"peerOptional": 0,
"total": 905
}
}
}
}
--- end ---
{"added": 905, "removed": 0, "changed": 0, "audited": 906, "funding": 47, "audit": {"auditReportVersion": 2, "vulnerabilities": {"chokidar": {"name": "chokidar", "severity": "high", "isDirect": false, "via": ["glob-parent"], "effects": ["watchpack-chokidar2"], "range": "1.0.0-rc1 - 2.1.8", "nodes": ["node_modules/watchpack-chokidar2/node_modules/chokidar"], "fixAvailable": true}, "codemirror-graphql": {"name": "codemirror-graphql", "severity": "moderate", "isDirect": false, "via": ["graphql-language-service-interface"], "effects": ["graphiql"], "range": "0.6.12 - 0.8.3", "nodes": ["node_modules/codemirror-graphql"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "cross-fetch": {"name": "cross-fetch", "severity": "high", "isDirect": false, "via": [{"source": 1088709, "name": "cross-fetch", "dependency": "cross-fetch", "title": "Incorrect Authorization in cross-fetch", "url": "https://github.com/advisories/GHSA-7gc6-qh9x-w6h8", "severity": "moderate", "cwe": ["CWE-359", "CWE-863"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<2.2.6"}, "node-fetch"], "effects": ["graphql-request"], "range": "<=2.2.5 || 3.0.0 - 3.1.4 || >=3.2.0-alpha.0", "nodes": ["node_modules/cross-fetch"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "glob-parent": {"name": "glob-parent", "severity": "high", "isDirect": false, "via": [{"source": 1091181, "name": "glob-parent", "dependency": "glob-parent", "title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex", "url": "https://github.com/advisories/GHSA-ww39-953v-wcq6", "severity": "high", "cwe": ["CWE-400"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<5.1.2"}], "effects": ["chokidar"], "range": "<5.1.2", "nodes": ["node_modules/watchpack-chokidar2/node_modules/glob-parent"], "fixAvailable": true}, "graphiql": {"name": "graphiql", "severity": "high", "isDirect": true, "via": [{"source": 1089589, "name": "graphiql", "dependency": "graphiql", "title": "GraphiQL introspection schema template injection attack", "url": "https://github.com/advisories/GHSA-x4r7-m2q9-69c8", "severity": "high", "cwe": ["CWE-79"], "cvss": {"score": 7.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L"}, "range": ">=0.5.0 <1.4.7"}, "codemirror-graphql", "markdown-it"], "effects": [], "range": "0.5.0 - 1.4.7-canary-85a66743.0", "nodes": ["node_modules/graphiql"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "graphql-config": {"name": "graphql-config", "severity": "moderate", "isDirect": false, "via": ["graphql-request"], "effects": ["graphql-language-service-interface", "graphql-language-service-utils"], "range": "0.0.0-experimental.0 || 1.0.8 - 3.0.0-rc.3", "nodes": ["node_modules/graphql-config"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "graphql-language-service-interface": {"name": "graphql-language-service-interface", "severity": "moderate", "isDirect": false, "via": ["graphql-config", "graphql-language-service-utils"], "effects": ["codemirror-graphql"], "range": "1.0.16 - 2.4.0-alpha.11", "nodes": ["node_modules/graphql-language-service-interface"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "graphql-language-service-utils": {"name": "graphql-language-service-utils", "severity": "moderate", "isDirect": false, "via": ["graphql-config"], "effects": ["graphql-language-service-interface"], "range": "1.0.16 - 2.4.0-alpha.9", "nodes": ["node_modules/graphql-language-service-utils"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "graphql-request": {"name": "graphql-request", "severity": "moderate", "isDirect": false, "via": ["cross-fetch"], "effects": ["graphql-config"], "range": "1.4.0 - 1.8.2", "nodes": ["node_modules/graphql-request"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "markdown-it": {"name": "markdown-it", "severity": "moderate", "isDirect": false, "via": [{"source": 1090461, "name": "markdown-it", "dependency": "markdown-it", "title": "Uncontrolled Resource Consumption in markdown-it", "url": "https://github.com/advisories/GHSA-6vfc-qv3f-vr6c", "severity": "moderate", "cwe": ["CWE-400"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": "<12.3.2"}], "effects": ["graphiql"], "range": "<12.3.2", "nodes": ["node_modules/markdown-it"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "node-fetch": {"name": "node-fetch", "severity": "high", "isDirect": false, "via": [{"source": 1086487, "name": "node-fetch", "dependency": "node-fetch", "title": "The `size` option isn't honored after following a redirect in node-fetch", "url": "https://github.com/advisories/GHSA-w7rc-rwvf-8q5r", "severity": "low", "cwe": ["CWE-20", "CWE-770"], "cvss": {"score": 2.6, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L"}, "range": "<2.6.1"}, {"source": 1091239, "name": "node-fetch", "dependency": "node-fetch", "title": "node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor", "url": "https://github.com/advisories/GHSA-r683-j2x4-v87g", "severity": "high", "cwe": ["CWE-173", "CWE-200", "CWE-601"], "cvss": {"score": 8.8, "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}, "range": "<2.6.7"}], "effects": ["cross-fetch"], "range": "<=2.6.6", "nodes": ["node_modules/node-fetch"], "fixAvailable": {"name": "graphiql", "version": "2.4.0", "isSemVerMajor": true}}, "watchpack": {"name": "watchpack", "severity": "high", "isDirect": false, "via": ["watchpack-chokidar2"], "effects": [], "range": "1.7.2 - 1.7.5", "nodes": ["node_modules/watchpack"], "fixAvailable": true}, "watchpack-chokidar2": {"name": "watchpack-chokidar2", "severity": "high", "isDirect": false, "via": ["chokidar"], "effects": ["watchpack"], "range": "*", "nodes": ["node_modules/watchpack-chokidar2"], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 6, "high": 7, "critical": 0, "total": 13}, "dependencies": {"prod": 167, "dev": 739, "optional": 26, "peer": 0, "peerOptional": 0, "total": 905}}}}
$ /usr/bin/npm audit fix --only=dev --legacy-peer-deps
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN deprecated graphql-import@0.4.5: GraphQL Import has been deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-import for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
--- stdout ---
added 879 packages, and audited 880 packages in 8s
47 packages are looking for funding
run `npm fund` for details
# npm audit report
cross-fetch <=2.2.5 || 3.0.0 - 3.1.4 || >=3.2.0-alpha.0
Severity: high
Incorrect Authorization in cross-fetch - https://github.com/advisories/GHSA-7gc6-qh9x-w6h8
Depends on vulnerable versions of node-fetch
fix available via `npm audit fix --force`
Will install graphiql@2.4.0, which is a breaking change
node_modules/cross-fetch
graphql-request 1.4.0 - 1.8.2
Depends on vulnerable versions of cross-fetch
node_modules/graphql-request
graphql-config 0.0.0-experimental.0 || 1.0.8 - 3.0.0-rc.3
Depends on vulnerable versions of graphql-request
node_modules/graphql-config
graphql-language-service-interface 1.0.16 - 2.4.0-alpha.11
Depends on vulnerable versions of graphql-config
Depends on vulnerable versions of graphql-language-service-utils
node_modules/graphql-language-service-interface
codemirror-graphql 0.6.12 - 0.8.3
Depends on vulnerable versions of graphql-language-service-interface
node_modules/codemirror-graphql
graphiql 0.5.0 - 1.4.7-canary-85a66743.0
Depends on vulnerable versions of codemirror-graphql
Depends on vulnerable versions of markdown-it
node_modules/graphiql
graphql-language-service-utils 1.0.16 - 2.4.0-alpha.9
Depends on vulnerable versions of graphql-config
node_modules/graphql-language-service-utils
glob-parent <5.1.2
Severity: high
glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6
fix available via `npm audit fix`
node_modules/glob-parent
chokidar 1.0.0-rc1 - 2.1.8
Depends on vulnerable versions of glob-parent
watchpack-chokidar2 *
Depends on vulnerable versions of chokidar
watchpack 1.7.2 - 1.7.5
Depends on vulnerable versions of watchpack-chokidar2
node_modules/watchpack
markdown-it <12.3.2
Severity: moderate
Uncontrolled Resource Consumption in markdown-it - https://github.com/advisories/GHSA-6vfc-qv3f-vr6c
fix available via `npm audit fix --force`
Will install graphiql@2.4.0, which is a breaking change
node_modules/markdown-it
node-fetch <=2.6.6
Severity: high
The `size` option isn't honored after following a redirect in node-fetch - https://github.com/advisories/GHSA-w7rc-rwvf-8q5r
node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor - https://github.com/advisories/GHSA-r683-j2x4-v87g
fix available via `npm audit fix --force`
Will install graphiql@2.4.0, which is a breaking change
node_modules/node-fetch
13 vulnerabilities (6 moderate, 7 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci --legacy-peer-deps
--- stderr ---
npm WARN deprecated graphql-import@0.4.5: GraphQL Import has been deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-import for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
--- stdout ---
added 879 packages, and audited 880 packages in 8s
47 packages are looking for funding
run `npm fund` for details
13 vulnerabilities (6 moderate, 7 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stdout ---
> test
> grunt test
Running "eslint:all" (eslint) task
Running "banana:GraphQL" (banana) task
>> 1 message directory checked.
Done.
--- end ---
{"1091181": {"source": 1091181, "name": "glob-parent", "dependency": "glob-parent", "title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex", "url": "https://github.com/advisories/GHSA-ww39-953v-wcq6", "severity": "high", "cwe": ["CWE-400"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<5.1.2"}}
{"1091181": {"source": 1091181, "name": "glob-parent", "dependency": "glob-parent", "title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex", "url": "https://github.com/advisories/GHSA-ww39-953v-wcq6", "severity": "high", "cwe": ["CWE-400"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<5.1.2"}}
{"1091181": {"source": 1091181, "name": "glob-parent", "dependency": "glob-parent", "title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex", "url": "https://github.com/advisories/GHSA-ww39-953v-wcq6", "severity": "high", "cwe": ["CWE-400"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<5.1.2"}}
{"1091181": {"source": 1091181, "name": "glob-parent", "dependency": "glob-parent", "title": "glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex", "url": "https://github.com/advisories/GHSA-ww39-953v-wcq6", "severity": "high", "cwe": ["CWE-400"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<5.1.2"}}
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
[DNM] there are no updates
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpb5dc8z1v
--- stdout ---
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
--- end ---