GSD-2022-1884
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-1884",
"id": "GSD-2022-1884"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-1884"
],
"id": "GSD-2022-1884",
"modified": "2023-12-13T01:19:28.346293Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-1884",
"STATE": "RESERVED"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided."
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c0.12.8",
"affected_versions": "All versions before 0.12.8",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-06-02",
"description": "### Impact\n\nThe malicious user is able to upload a crafted `config` file into repository\u0027s `.git` directory with to gain SSH access to the server. All Windows installations with [repository upload enabled (default)](https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129) are affected.\n\n### Patches\n\nRepository file uploads are prohibited to its `.git` directory. Users should upgrade to 0.12.8 or the latest 0.13.0+dev.\n\n### Workarounds\n\n [Disable repository files upload](https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L128-L129).\n\n### References\n\nhttps://www.huntr.dev/bounties/9cd4e7b7-0979-4e5e-9a1c-388b58dea76b/\n\n### For more information\n\nIf you have any questions or comments about this advisory, please post on #6968.\n",
"fixed_versions": [
"0.12.8"
],
"identifier": "GMS-2022-1782",
"identifiers": [
"GHSA-958j-443g-7mm7",
"GMS-2022-1782",
"CVE-2022-1884"
],
"not_impacted": "All versions starting from 0.12.8",
"package_slug": "go/gogs.io/gogs",
"pubdate": "2022-06-02",
"solution": "Upgrade to version 0.12.8 or above.",
"title": "OS Command Injection in gogs",
"urls": [
"https://github.com/gogs/gogs/security/advisories/GHSA-958j-443g-7mm7",
"https://github.com/gogs/gogs/issues/6968",
"https://github.com/gogs/gogs/pull/6970",
"https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129",
"https://github.com/gogs/gogs/releases/tag/v0.12.8",
"https://www.huntr.dev/bounties/9cd4e7b7-0979-4e5e-9a1c-388b58dea76b/",
"https://github.com/advisories/GHSA-958j-443g-7mm7"
],
"uuid": "0a2f8b02-7825-47f3-a296-6d570242d2d6"
}
]
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…