GHSA-cg6r-gqvc-r396

Suggest an improvement
Source
https://github.com/advisories/GHSA-cg6r-gqvc-r396
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-cg6r-gqvc-r396/GHSA-cg6r-gqvc-r396.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cg6r-gqvc-r396
Aliases
Published
2023-07-26T15:30:57Z
Modified
2024-02-16T08:01:45.345256Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
CSRF vulnerability in GitLab Authentication Plugin
Details

GitLab Authentication Plugin 1.17.1 and earlier does not implement a state parameter in its OAuth flow, a unique and non-guessable value associated with each authentication request.

This vulnerability allows attackers to trick users into logging in to the attacker’s account.

GitLab Authentication Plugin 1.18 implements a state parameter in its OAuth flow.

Database specific
{
    "nvd_published_at": "2023-07-26T14:15:10Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-26T22:36:39Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:gitlab-oauth

Package

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

Affected ranges

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

Affected versions

1.*

1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.17.1