CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Jenkins

CVE-2021-21696
Jenkins vulnerability

Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not limit agent read/write access to the libs/ directory inside build directories when using the FilePath APIs, allowing attackers in control of agent processes to replace the code of a trusted library with a modified variant. This results in unsandboxed code execution in the Jenkins controller process.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Jenkins. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Jenkins runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Jenkins products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.