Description

Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does not filter characters input from users, which leads to an XSS vulnerability when directly displayed in the issue list. This issue has been resolved in commit 155cae1d which sanitizes `DisplayName` prior to display to the user. All users of gogs are advised to upgrade. Users unable to upgrade should check their users' display names for malicious characters.

INFO

Published Date :

June 9, 2022, 5:15 p.m.

Last Modified :

June 17, 2022, 7:24 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.3
Public PoC/Exploit Available at Github

CVE-2022-31038 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-31038 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gogs gogs
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-31038.

URL Resource
https://github.com/gogs/gogs/commit/155cae1de8916fc3fde78f350763034b7422caee Patch Third Party Advisory
https://github.com/gogs/gogs/pull/7009 Issue Tracking Third Party Advisory
https://github.com/gogs/gogs/security/advisories/GHSA-xq4v-vrp9-vcf2 Issue Tracking Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

🍆 My GitHub Profile

Go

Updated: 3 weeks, 1 day ago
4 stars 6 fork 6 watcher
Born at : July 10, 2020, 10:24 a.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-31038 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-31038 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jun. 17, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/gogs/gogs/commit/155cae1de8916fc3fde78f350763034b7422caee No Types Assigned https://github.com/gogs/gogs/commit/155cae1de8916fc3fde78f350763034b7422caee Patch, Third Party Advisory
    Changed Reference Type https://github.com/gogs/gogs/pull/7009 No Types Assigned https://github.com/gogs/gogs/pull/7009 Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/gogs/gogs/security/advisories/GHSA-xq4v-vrp9-vcf2 No Types Assigned https://github.com/gogs/gogs/security/advisories/GHSA-xq4v-vrp9-vcf2 Issue Tracking, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* versions up to (excluding) 0.12.9
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-31038 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-31038 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.00%

score

0.25075

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability