gsd-2022-30781
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Gitea before 1.16.7 does not escape git fetch remote.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-30781",
"description": "Gitea before 1.6.7 does not escape git fetch remote.",
"id": "GSD-2022-30781"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-30781"
],
"details": "Gitea before 1.16.7 does not escape git fetch remote.",
"id": "GSD-2022-30781",
"modified": "2023-12-13T01:19:37.515339Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-30781",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Gitea before 1.16.7 does not escape git fetch remote."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/go-gitea/gitea/pull/19490",
"refsource": "MISC",
"url": "https://github.com/go-gitea/gitea/pull/19490"
},
{
"name": "https://github.com/go-gitea/gitea/pull/19487",
"refsource": "MISC",
"url": "https://github.com/go-gitea/gitea/pull/19487"
},
{
"name": "https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/",
"refsource": "MISC",
"url": "https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/"
},
{
"name": "http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html",
"refsource": "MISC",
"url": "http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html"
},
{
"name": "http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html",
"refsource": "MISC",
"url": "http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c1.16.7",
"affected_versions": "All versions before 1.16.7",
"cvss_v2": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-116",
"CWE-937"
],
"date": "2022-05-25",
"description": "Gitea before 1.16.7 does not escape git fetch remote.",
"fixed_versions": [
"1.16.7"
],
"identifier": "CVE-2022-30781",
"identifiers": [
"GHSA-p5f9-c9j9-g8qx",
"CVE-2022-30781"
],
"not_impacted": "All versions starting from 1.16.7",
"package_slug": "go/code.gitea.io/gitea",
"pubdate": "2022-05-17",
"solution": "Upgrade to version 1.16.7 or above.",
"title": "Improper Encoding or Escaping of Output",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-30781",
"https://github.com/go-gitea/gitea/pull/19487",
"https://github.com/go-gitea/gitea/pull/19490",
"https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/",
"https://github.com/advisories/GHSA-p5f9-c9j9-g8qx"
],
"uuid": "d5ec9d8a-06c8-44a2-876f-a33c8c302ab7"
},
{
"affected_range": "\u003c1.16.7",
"affected_versions": "All versions before 1.16.7",
"cvss_v2": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-116",
"CWE-937"
],
"date": "2023-01-27",
"description": "Gitea before 1.16.7 does not escape git fetch remote.",
"fixed_versions": [
"1.16.7"
],
"identifier": "CVE-2022-30781",
"identifiers": [
"CVE-2022-30781"
],
"not_impacted": "",
"package_slug": "go/github.com/go-gitea/gitea",
"pubdate": "2022-05-16",
"solution": "Upgrade to version 1.16.7 or above.",
"title": "Improper Encoding or Escaping of Output",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-30781",
"https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/",
"https://github.com/go-gitea/gitea/pull/19487",
"https://github.com/go-gitea/gitea/pull/19490"
],
"uuid": "9ccbe20f-934c-4a78-be32-b1d0cebbb232"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "1.16.7",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-30781"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Gitea before 1.16.7 does not escape git fetch remote."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-116"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/",
"refsource": "MISC",
"tags": [
"Release Notes",
"Vendor Advisory"
],
"url": "https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/"
},
{
"name": "https://github.com/go-gitea/gitea/pull/19487",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/go-gitea/gitea/pull/19487"
},
{
"name": "https://github.com/go-gitea/gitea/pull/19490",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/go-gitea/gitea/pull/19490"
},
{
"name": "http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory",
"VDB Entry"
],
"url": "http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html"
},
{
"name": "http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory",
"VDB Entry"
],
"url": "http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.0,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2023-01-27T19:57Z",
"publishedDate": "2022-05-16T04: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.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- 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.
Loading…
Loading…