[Dependency] lodash range ≥4.0.0 ≤4.17.22 flagged by audit (cloudinary → lodash)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript, nodejs
Hướng nghiên cứu
Bắt đầu với khai báo dependency cloudinary trong package.json, sau đó tái hiện kết quả được báo cáo bằng npm install hoặc bun install và bun audit. Xác nhận xem khoảng phiên bản lodash đã được phân giải có còn bị đánh dấu hay không và cập nhật dependency nếu phù hợp; được xem là hoàn tất khi audit không còn báo cáo lỗ hổng bắc cầu và SDK có một bản phát hành vá lỗi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 672
- Fork
- 318
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudinary/cloudinary_npm
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
cloudinary/cloudinary_npm#746 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
cloudinary/cloudinary_npm#739 ·
-
How to handle API KeysĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cloudinary/cloudinary_npm#713 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
cloudinary/cloudinary_npm#712 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
cloudinary/cloudinary_npm#702 · 2 bình luận ·
Tất cả issue của cloudinary/cloudinary_npm
Issue tương tự
-
documentation good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
accessibility area: css area: web ui bug difficulty: easy frontend good first issue help wanted javascript journey: first-visit journey: mobile priority: P3 quality tech: css tech: html typescript ui user-experience
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
themactep/thingino-firmware#2018 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[analytics-core] getQueryParams does not decode `+` as space and truncates values containing `=`Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
amplitude/Amplitude-TypeScript#2179 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
cloudinary/js-url-gen#608 ·