TMAegis
Thêm quy tắc cho gitlab

GitLab

TMA-GITLAB-3.1.7

Ensure dependencies are pinned to a specific, verified version

Trung bìnhCấp 1Xem xét thủ cônggitlab

Mô tả

Pin dependencies to a specific version. Avoid using the "latest" tag or broad version. When using a wildcard version of a package, or the "latest" tag, the risk of encountering a new, potentially malicious package increases. The "latest" tag pulls the last package pushed to the registry. This means that if an attacker pushes a new, malicious package successfully to the registry, the next user who pulls the "latest" will pull it and risk attack. This same rule applies to a wildcard version - assuming one is using version v1.*, it will install the latest version of the major version 1, meaning that if an attacker can push a malicious package with that same version, those using it will be subject to possible attack. By using a secure, verified version, use is restricted to this version only and no other may be pulled, decreasing the risk for any malicious package.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

For every dependency in use, ensure it is pinned to a specific version.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

For every dependency in use, pin to a specific version.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
devsecopsgitlab
Tham chiếu
CIS GitLab Benchmark v1.0.1 - 3.1.7 Ensure dependencies are pinned to a specific, verified version