gsd-2022-1986
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2022-1986", "description": "OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.", "id": "GSD-2022-1986" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-1986" ], "details": "OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.", "id": "GSD-2022-1986", "modified": "2023-12-13T01:19:28.520004Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security@huntr.dev", "ID": "CVE-2022-1986", "STATE": "PUBLIC", "TITLE": "OS Command Injection in gogs/gogs" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "gogs/gogs", "version": { "version_data": [ { "version_affected": "\u003c", "version_value": "0.12.9" } ] } } ] }, "vendor_name": "gogs" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 10, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "version": "3.0" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-78 Improper Neutralization of Special Elements used in an OS Command" } ] } ] }, "references": { "reference_data": [ { "name": "https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930", "refsource": "CONFIRM", "url": "https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930" }, { "name": "https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82", "refsource": "MISC", "url": "https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82" } ] }, "source": { "advisory": "776e8f29-ff5e-4501-bb9f-0bd335007930", "discovery": "EXTERNAL" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c0.12.9", "affected_versions": "All versions before 0.12.9", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2022-06-08", "description": "### Impact\n\nThe malicious user is able to update a crafted `config` file into repository\u0027s `.git` directory in combination with crafted file deletion to gain SSH access to the server. All installations with [repository upload enabled (default)](https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129) are affected.\n\n### Patches\n\nFile deletions are prohibited to repository\u0027s `.git` directory. Users should upgrade to 0.12.9 or the latest 0.13.0+dev.\n\n### Workarounds\n\nN/A\n\n### References\n\nhttps://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930/\n\n### For more information\n\nIf you have any questions or comments about this advisory, please post on #7000.\n", "fixed_versions": [ "0.12.9" ], "identifier": "GMS-2022-1991", "identifiers": [ "GHSA-67mx-jc2f-jgjm", "GMS-2022-1991", "CVE-2022-1986" ], "not_impacted": "All versions starting from 0.12.9", "package_slug": "go/gogs.io/gogs", "pubdate": "2022-06-08", "solution": "Upgrade to version 0.12.9 or above.", "title": "OS Command Injection in file editor in Gogs", "urls": [ "https://github.com/gogs/gogs/security/advisories/GHSA-67mx-jc2f-jgjm", "https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82", "https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129", "https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930/", "https://github.com/advisories/GHSA-67mx-jc2f-jgjm" ], "uuid": "0d2ab956-5a92-4ba5-912b-1dda8dba4513" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "0.12.9", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security@huntr.dev", "ID": "CVE-2022-1986" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-78" } ] } ] }, "references": { "reference_data": [ { "name": "https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930", "refsource": "CONFIRM", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930" }, { "name": "https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } }, "lastModifiedDate": "2022-06-15T17:01Z", "publishedDate": "2022-06-09T17:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.