Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Potential exposure to CVE-2021-3918 - Score 9.8

Đang mở
#158 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, node.js
Lĩnh vực
api, security

Hướng nghiên cứu

Bắt đầu với chuỗi dependency của loopback-connector-rest được hiển thị bởi npm ls json-schema, đặc biệt là [email protected], http-signature và jsprim. Xem lại issue liên quan và lịch sử thay đổi được liên kết của [email protected]; được xem là hoàn thành khi connector không còn kéo theo phiên bản dễ bị tổn thương của json-schema mà không đưa vào một dependency đã deprecated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Steps to reproduce

  1. Install loopback-connector-rest
  2. run npm ls json-schema

Current Behavior

The vulnerable version of json-schema is a sub-dependency of [email protected] which is the latest version of the deprecated http client.

└─┬ [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └─┬ [email protected]
        └── [email protected] 

Expected Behavior

Usage of non-deprectated package which are not exposed to security vulnerabilities.

Additional information

https://nvd.nist.gov/vuln/detail/CVE-2021-3918
Fixes exist for json-schema, jsprim and http-signature but request does not accept [email protected] which would resolve this issue:
https://github.com/joyent/node-http-signature/blob/master/CHANGES.md#136

Related Issues

https://github.com/loopbackio/loopback-connector-rest/issues/147

Ngôn ngữ chính
JavaScript
Star
73
Fork
82
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của loopbackio/loopback-connector-rest

Tất cả issue của loopbackio/loopback-connector-rest

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.