{"id":"GHSA-58pr-hprx-7hg6","summary":"RCE vulnerability in Jenkins Code Coverage API Plugin","details":"Jenkins Code Coverage API Plugin 1.4.0 and earlier does not apply [JEP-200 deserialization protection](https://github.com/jenkinsci/jep/tree/master/jep/200) to Java objects it deserializes from disk.\n\nThis results in a remote code execution (RCE) vulnerability exploitable by attackers able to control agent processes.\n\nJenkins Code Coverage API Plugin 1.4.1 configures its Java object deserialization to only deserialize safe types.","aliases":["CVE-2021-21677"],"modified":"2024-02-16T08:22:02.827686Z","published":"2022-05-24T19:12:36Z","database_specific":{"cwe_ids":["CWE-502"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-12-15T16:36:42Z","nvd_published_at":"2021-08-31T14:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21677"},{"type":"WEB","url":"https://github.com/jenkinsci/code-coverage-api-plugin/commit/a5b3c18cff2a0b494c55fa73b05fc935b50530be"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/code-coverage-api-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2376"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2021/08/31/1"}],"affected":[{"package":{"name":"io.jenkins.plugins:code-coverage-api","ecosystem":"Maven","purl":"pkg:maven/io.jenkins.plugins/code-coverage-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}],"versions":["1.0.0","1.0.0-alpha-1","1.0.0-rc-1","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.1","1.3.1","1.3.2","1.4.0"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.4.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-58pr-hprx-7hg6/GHSA-58pr-hprx-7hg6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}