Hi, There are many vulnerabilities when I use “npm audit” command to scan newman dir. how to fix those vulnerabilities? can you update or fix those issure? npm audit report below:
101 >=1.0.0Severity: criticalPrototype pollution in 101 - Depends on vulnerable versions of keypatherfix available via npm audit fix --forceWill install @postman/[email protected], which is a breaking changenode_modules/101keypather >=1.10.2Depends on vulnerable versions of 101node_modules/keypathertiny-error *Depends on vulnerable versions of 101node_modules/tiny-error@postman/yankee *Depends on vulnerable versions of tiny-errornode_modules/@postman/yankee@postman/shipit >=0.3.0Depends on vulnerable versions of @postman/yankeenode_modules/@postman/shipit
jose 3.0.0 - 4.15.4Severity: moderatejose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext fix available via npm audit fix --forceWill install [email protected], which is outside the stated dependency rangenode_modules/josepostman-runtime >=7.31.0Depends on vulnerable versions of joseDepends on vulnerable versions of node-forgenode_modules/postman-runtime
js-yaml <3.14.2Severity: moderatejs-yaml has prototype pollution in merge (<<) - No fix availablenode_modules/dockerfile_lint/node_modules/js-yamldockerfile_lint *Depends on vulnerable versions of js-yamlDepends on vulnerable versions of lodashnode_modules/dockerfile_lint
lodash <=4.17.20Severity: criticalPrototype Pollution in lodash - Command Injection in lodash - Prototype Pollution in lodash - Prototype Pollution in lodash - No fix availablenode_modules/dockerfile_lint/node_modules/lodash
node-forge <=1.3.1Severity: highnode-forge has ASN.1 Unbounded Recursion - node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization - node-forge is vulnerable to ASN.1 OID Integer Truncation - fix available via npm audit fix --forceWill install [email protected], which is outside the stated dependency rangenode_modules/node-forge
cli command total can be use and can meet my automate-test requirement. The point is that our project forbid vulnerabilities, there are many vulnerabilities, I hope those vulnerabilities could be fixed. I think 11 vulnerabilities are little much.
my point is that newman v6.2.1 packages has 11 vulnerabilities. since those vulnerabilities, my project can’t be allowed to go online. I hope when use “npm audit”, the npm audit report has no vulnerabilities or only moderate vulnerabilites.
I understand what your issue is, I linked the current open issues from the Newman project.
I just enquiring about the reasons you’re using Newman over using the Postman CLI? What is stopping you from using the CLI in your projects? What’s keeping you using Newman?
You can install the CLI using NPM, just like Newman. You can also run local static exported JSON files, just like Newman.
oh,I knew what you say. I already use postman-cli in my Windows, it can total instead newman. But I met new issue: my linux machine is very old, when i use “postman collection run”, it seems cant work well. what request needs for postman-cli? my error info is
postman: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by postman) postman: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20’ not found (required by postman)
postman: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by postman) postman: /lib64/libm.so.6: version GLIBC_2.27’ not found (required by postman)
postman: /lib64/libc.so.6: version GLIBC_2.27' not found (required by postman) postman: /lib64/libc.so.6: version GLIBC_2.28’ not found (required by postman)
postman: /lib64/libc.so.6: version `GLIBC_2.25’ not found (required by postman)
seems similar, but I only want to install postman-cli, not total postman client, may i have method to download and install postman-cli ? Or postman-cli docker maybe?
windows I use powershell install. Maybe in my old linux machine, i need old version postman-cli. May I download old version? my linux machine system info like below:
Linux version 3.10.0-957.10.1.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Mon Mar 18 15:06:45 UTC 2019