[Dependency] lodash range ≥4.0.0 ≤4.17.22 flagged by audit (cloudinary → lodash)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript, nodejs
Research direction
Start with the cloudinary dependency declaration in package.json, then reproduce the reported result with npm install or bun install and bun audit. Confirm whether the resolved lodash range is still flagged and update the dependency if appropriate; done means the audit no longer reports the transitive vulnerability and the SDK has a patch release.
Written by the indexing model from the issue text.
Description
Bug report for Cloudinary NPM SDK
Before proceeding, please update to latest version and test if the issue persists.
We are on [email protected] (latest on npm). bun audit still flags lodash pulled in by this package.
Describe the bug in a sentence or two.
The Cloudinary NPM SDK declares a dependency on lodash (^4.17.21 in [email protected]). The resolved lodash version falls in the range reported as vulnerable by multiple GitHub Security Advisories (lodash >=4.0.0 <=4.17.22). Security scanners (e.g. bun audit / npm audit) therefore report high and moderate findings on installs that only add cloudinary as a direct dependency.
Issue Type (Can be multiple)
- Build - Can’t install or import the SDK
- Babel - Babel errors or cross browser issues
- Performance - Performance issues
- Behaviour - Functions aren’t working as expected (Such as generate URL)
- Documentation - Inconsistency between the docs and behaviour
- Incorrect Types - For typescript users who are having problems with our d.ts files
- Other (Specify): Transitive dependency vulnerability (lodash); audit reports CVEs/GHSAs after install
Steps to reproduce
- Create a minimal project with
"cloudinary": "^2.9.0"inpackage.json. - Run
npm installorbun install. - Run
bun audit(ornpm audit). - Observe findings for lodash, dependency path cloudinary › lodash, vulnerable range >=4.0.0 <=4.17.22.
Error screenshots
bun audit output (excerpt):
Suggested fix
Bump the lodash dependency in cloudinary to a patched version outside the vulnerable range (e.g. per the linked GHSAs, typically > 4.17.22 / latest 4.x patch), and release a patch version of the SDK so consumers clear audits without overrides / resolutions.
- Dominant language
- JavaScript
- Stars
- 672
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudinary/cloudinary_npm
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
cloudinary/cloudinary_npm#746 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
cloudinary/cloudinary_npm#739 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
cloudinary/cloudinary_npm#713 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
cloudinary/cloudinary_npm#712 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
cloudinary/cloudinary_npm#702 · 2 comments ·
All issues in cloudinary/cloudinary_npm
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
discovery:other factory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
vercel/ai#25068 · 4 comments ·
Maintainers usually reply within 1 day
-
needs-triage typo
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llm-d-incubation/llm-d-scaling-manager#122 ·
Maintainers usually reply within 1 day
-
create-strapi-app doesn't await writing license.txt, so a failed write skips its error handlingOpenflag: invalid template issue: bug severity: low source: cli status: pending reproduction version: 5
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
strapi/strapi#28637 · 1 comment ·
Maintainers usually reply within 2 days
-
meta
Difficulty 1/5 Under an hour Newbie friendliness 88/100
matrix-org/matrix.org#3774 ·
Maintainers usually reply within 1 day