| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in gogs up to 0.12.7 and classified as critical. The affected element is an unknown function. Executing a manipulation can lead to server-side request forgery. This vulnerability is tracked as CVE-2022-1285. The attack can be launched remotely. No exploit exists. It is suggested to upgrade the affected component.
Details
A vulnerability was found in gogs up to 0.12.7. It has been declared as critical. This vulnerability affects an unknown code. The manipulation with an unknown input leads to a server-side request forgery vulnerability. The CWE definition for the vulnerability is CWE-918. The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was disclosed 06/01/2022. The advisory is shared for download at huntr.dev. This vulnerability was named CVE-2022-1285 since 04/09/2022. There are neither technical details nor an exploit publicly available.
Upgrading to version 0.12.8 eliminates this vulnerability. Applying the patch 7885f454a4946c4bbec1b4f8c603b5eea7429c7f is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-2013). Once again VulDB remains the best source for vulnerability data.
Affected
- Open Source Gogs
Product
Name
Version
License
Website
- Product: https://github.com/gogs/gogs/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.6
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 8.3
CNA Vector (huntr.dev): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Server-side request forgeryCWE: CWE-918
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: gogs 0.12.8
Patch: 7885f454a4946c4bbec1b4f8c603b5eea7429c7f
Timeline
04/09/2022 🔍06/01/2022 🔍
06/01/2022 🔍
06/19/2026 🔍
Sources
Product: github.comAdvisory: 7885f454a4946c4bbec1b4f8c603b5eea7429c7f
Status: Confirmed
CVE: CVE-2022-1285 (🔍)
GCVE (CVE): GCVE-0-2022-1285
GCVE (VulDB): GCVE-100-200932
CERT Bund: WID-SEC-2026-2013 - Gogs: Mehrere Schwachstellen
Entry
Created: 06/01/2022 13:11Updated: 06/19/2026 12:39
Changes: 06/01/2022 13:11 (49), 06/04/2022 10:57 (2), 06/19/2026 12:39 (20)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.