GHSA-5frh-wx6v-8m2r

Suggest an improvement
Source
https://github.com/advisories/GHSA-5frh-wx6v-8m2r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-5frh-wx6v-8m2r/GHSA-5frh-wx6v-8m2r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5frh-wx6v-8m2r
Aliases
  • CVE-2021-21675
Published
2022-05-24T19:06:36Z
Modified
2024-02-16T08:16:57.614129Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
CSRF vulnerabilities in Jenkins requests-plugin Plugin
Details

Jenkins requests-plugin Plugin 2.2.12 and earlier does not require POST requests to request and apply changes, resulting in cross-site request forgery (CSRF) vulnerabilities.

These vulnerabilities allow attackers to create requests and/or have administrators apply pending requests, like renaming or deleting jobs, deleting builds, etc.

Jenkins requests-plugin Plugin 2.2.13 requires POST requests for the affected HTTP endpoints. This was partially fixed in requests-plugin Plugin 2.2.8 to require POST requests for some of the affected HTTP endpoints, but the endpoint allowing administrators to apply pending requests remained unprotected until 2.2.13.

Database specific
{
    "nvd_published_at": "2021-06-30T17:15:00Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-16T15:17:26Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:requests

Package

Name
org.jenkins-ci.plugins:requests
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/requests

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.13

Affected versions

requests-2.*

requests-2.0.1
requests-2.1.0
requests-2.2

2.*

2.0.2
2.0.3
2.0.4
2.0.5
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.2.10
2.2.11
2.2.12

Database specific

{
    "last_known_affected_version_range": "<= 2.2.12"
}