Skip to main content

Container Image Support

Lacework continues to expand its coverage of Operating Systems, Languages and package managers that it works with. All Lacework scanners share the same capabilities listed in this section.

Image Format

Lacework supports the Docker and OCI image formats. Lacework is agnostic to the build system used to build these images (such as docker or bazel).

Operating System Support

Lacework finds known vulnerabilities in the following base operating systems:

Operating SystemVersions
Alpine Linux3.x
Amazon Linux2 (including Extras library), 2023
Amazon Linux AMI2014.09, 2015.03, 2015.09, 2016.03, 2016.09, 2017.03, 2017.09, 2018.03
CentOS5, 6, 7
Debian8, 9, 10, unstable
Oracle Linux8.3, 8.4, 8.5
Red Hat Enterprise Linux6, 7, 8, 9
Red Hat Universal Base Images (UBI)7, 7-Minimal, 8, 8-Minimal, 9, 9-Minimal

Note: Lacework does not support UBI init or micro images.
Rocky Linux8.4, 8.5, 8.6, 8.7, 9.0, 9.1
Ubuntu12.04 and above, snap
SUSE SLES12 SP3, 12 SP4, 12 SP5
openSUSE Leap15.x
Distroless (Bazel) + ScratchAny
note
  • Lacework does not support Bottlerocket for container vulnerability assessments.
  • Some of these operating systems no longer receive new security fixes as they are EOL.

Package Assessment Support

Lacework assesses operating system packages using the sources listed in the following table:

Linux DistributionSeverity AttributionCVSS Score AttributionCVE Source
Alpine LinuxNVD Score (CVSS v3 supersedes CVSS v2)NVDhttps://github.com/alpinelinux/aports.git
Amazon LinuxDistro1. Amazon*
2. NVD
https://alas.aws.amazon.com/
CentOSDistroNVD1. Risk Based Security (RBS) - VulnDB
2. https://www.redhat.com/security/data/oval/v2/
DebianDistro (Security Tracker)NVDhttps://security-tracker.debian.org/tracker
Oracle LinuxDistroNVDhttps://linux.oracle.com/security/oval/
Red Hat Enterprise Linux (including UBI)DistroNVDhttps://www.redhat.com/security/data/oval/v2/
Rocky LinuxDistroNVDRisk Based Security (RBS) - VulnDB
UbuntuDistro (Canonical)NVDhttps://git.launchpad.net/ubuntu-cve-tracker
https://ubuntu.com/security/cves
SUSE Linux Enterprise Server (SLES)DistroNVDhttps://www.suse.com/security/cve/
https://ftp.suse.com/pub/projects/security/oval/
note

*For Amazon Linux, the Amazon CVSS Score is preferred first. The NVD score is used if there is no score available from Amazon.

Lacework receives vulnerability and package data in a timely manner directly from the vendors and the NIST National Vulnerability Database (NVD).

Lacework assesses the severity and CVSS score for vulnerabilities from different sources. Distributions often reclassify vulnerabilities with a different severity than the NIST National Vulnerability Database (NVD). It is not uncommon that the severity displayed by Lacework is associated with a different CVSSv3 score coming from a different source.

More information about CVSS scoring can be found in the Severity Attribution section.

Supported Language Libraries and Package Managers

Lacework offers support on the following programming language libraries and package managers:

Library namePackage managerVersion formatCVE Sources
JavamavenmavenGHSA
RubybundlerbundlerRBS
PHPcomposercomposerRBS
GogogoRBS
npm
(node / react / typescript)
npm
yarn
npm
yarn
GHSA
.NETnugetnugetRBS
Pythonpip
poetry
python
pip
poetry
pep440
RBS
RustcargocargoRBS
Forks of open source projects

Lacework does not support vulnerability detection within forks of open source projects that do not publish security advisories.

For example, Fullstaq Ruby packages are currently unsupported for vulnerability scanning.

CVE Sources for Language Libraries and Package Managers

Lacework uses the following CVE Sources for language libraries:

Lacework uses NVD for the severity and CVSS score associated with the CVEs.

note

When an NVD CVSS score is not available for a given GitHub Security Advisory (GHSA) package, Lacework uses the CVSS score directly from GHSA for that package.

Disable Language Libraries Support

Disable language libraries support for container images by following the steps in relevant section for your integration type:

Platform, Inline, and Proxy Scanner

This feature is enabled by default from v4.42 onwards, see the following sections for instructions to disable it.

Platform Scanner
New Integrations
  1. For new integrations, create a registry integration up to when you reach the Optional Settings page.
  2. Uncheck the Non-OS Package Support checkbox.
  3. Finish configuring any other optional settings and click Save.
Existing Integrations
  1. For existing integrations, go to Settings > Container Registries in the Lacework Console.
  2. Select the registry by clicking the checkbox on the left-hand column and click the Edit icon console-edit-registry-icon.png.
  3. Proceed to the Optional Settings page and uncheck the Non-OS Package Support checkbox.
  4. Click Save when complete.
  5. Ensure that in Settings > General, you have enabled Reassess active images.
Inline Scanner

Disable this feature in your inline scanner(s) by using one of these three methods:

  1. Run the lw-scanner configure scanner command and enter false when the Scan Library packages prompt appears.
  2. Set the following environment variable in your local or CI/CD system: export LW_SCANNER_DISABLE_LIBRARY_PACKAGES_SCANNING=true
  3. Use the --disable-library-package-scanning flag when running the image evaluate or image scan commands.
inline scanner releases prior to v0.2.4

Prior to v0.2.4, inline scanner releases will not have had this feature enabled by default.

See Inline Scanner and/or CI pipelines for further references to these configuration options.

Proxy Scanner

Set the disable_non_os_package_scanning field to true in the config.yml to disable this feature.

See Proxy Scanner for further reference to this configuration option.

Agentless Workload Scanning

It is not currently possible to disable language library scanning of container images when using Agentless Workload Scanning. You can disable container image scanning altogether, but this will also stop scans of operating system packages.

Follow the steps below if you still want to disable all scanning of container images with Agentless:

  1. In the Lacework Console, go to Settings > Cloud accounts.
  2. Find and select your integration in the table.
  3. Click the Edit console-settings-cloud_accounts-edit.png option.
  4. Uncheck the Scan containers option.
  5. Click Save.

Usage of CVE/Vulnerability Sources

Lacework uses multiple CVE / vulnerability sources and will determine the best source for new and existing vulnerabilities.

The vulnerability source used is based on the quality of the data returned on a given vulnerability (such as affected version range, fix version, and data schema).

In some cases, a certain vulnerability source may be used solely for a given operating system, language library, or package manager. This is often the case when other vulnerability sources are lacking detail or specificity for that particular operating system, language library, or package manager.

Registry Errors

If there is a registry error while scanning an image, Lacework retries the scan (based on the HTTP response code).

  • If the registry displays a 400 or 500 HTTP response code, Lacework retries the scan three times.
  • If the registry displays a 404 HTTP response code, it means that the image data does not exist.
    Lacework does not retry this scan and it displays an error message in the Console.

Severity Attribution

Vulnerability assessment displays a Common Vulnerability Scoring System (CVSS) score and severity for each CVE. Scores range from 0 to 10. Severities can be Info, Low, Medium, High, or Critical.

For each CVE, the National Vulnerability Database (NVD) provides a base score for CVSS v3.x (if available) and CVSS v2.0. Lacework displays the provided CVSS v3 score or the CVSS v2 score if the v3 score is not available.

Lacework assigns severities to CVEs based on the following criteria in the following order of preference:

  • The operating system distribution vendor (such as CentOS, Ubuntu, Alpine, etc.) provides a severity.
    • Unlike operating system vendors, language library projects do not directly provide vulnerability data. As such, there is no equivalent "vendor" severity.
  • Lacework converts the CVSS v3 score to a severity.
  • Lacework converts the CVSS v2 score to a severity.

Severities are rated using the following scale (ref: FIRST.org):

RatingCVSS Score
Info0.0
Low0.1 - 3.9
Medium4.0 - 6.9
High7.0 - 8.9
Critical9.0 - 10.0

When a CVSS score is not available, Lacework reports the value as N/A in the Console, and 0 in the CLI.