gsd-2021-3779
Vulnerability from gsd
Modified
2022-06-28 00:00
Details
A malicious MySQL server can request local file content from a client using ruby-mysql prior to version
2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and
later.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-3779",
"description": "A malicious MySQL server can request local file content from a client using ruby-mysql prior to version 2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and later.",
"id": "GSD-2021-3779"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "ruby-mysql",
"purl": "pkg:gem/ruby-mysql"
}
}
],
"aliases": [
"CVE-2021-3779",
"GHSA-73pr-g6jj-5hc9"
],
"details": "A malicious MySQL server can request local file content from a client using ruby-mysql prior to version\n2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and\nlater.\n",
"id": "GSD-2021-3779",
"modified": "2022-06-28T00:00:00.000Z",
"published": "2022-06-28T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/issues/507"
},
{
"type": "WEB",
"url": "https://my.diffend.io/gems/ruby-mysql/2.9.14/2.10.0#d2h-806753-331"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 6.5,
"type": "CVSS_V3"
}
],
"summary": "ruby-mysql Client File Read"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@rapid7.com",
"DATE_PUBLIC": "2022-06-28T15:00:00.000Z",
"ID": "CVE-2021-3779",
"STATE": "PUBLIC",
"TITLE": "Ruby-MySQL Gem Client File Read"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "ruby-mysql",
"version": {
"version_data": [
{
"version_affected": "\u003c=",
"version_name": "2.9.14",
"version_value": "2.9.14"
}
]
}
}
]
},
"vendor_name": "Tomita Masahiro"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "Discovered by Hans-Martin M\u00fcnch of MOGWAI LABS GmbH, reported by Rapid7, coordinated by CERT/CC and JPCERT/CC"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "A malicious MySQL server can request local file content from a client using ruby-mysql prior to version 2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and later."
}
]
},
"generator": {
"engine": "Vulnogram 0.0.9"
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-610 Externally Controlled Reference to a Resource in Another Sphere"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/",
"refsource": "MISC",
"url": "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/"
}
]
},
"solution": [
{
"lang": "eng",
"value": "Update to version 2.10.0 or later of ruby-mysql"
}
],
"source": {
"discovery": "EXTERNAL"
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2021-3779",
"cvss_v3": 6.5,
"date": "2022-06-28",
"description": "A malicious MySQL server can request local file content from a client using ruby-mysql prior to version\n2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and\nlater.\n",
"gem": "ruby-mysql",
"ghsa": "73pr-g6jj-5hc9",
"patched_versions": [
"\u003e= 2.10.0"
],
"related": {
"url": [
"https://github.com/rubysec/ruby-advisory-db/issues/507",
"https://my.diffend.io/gems/ruby-mysql/2.9.14/2.10.0#d2h-806753-331"
]
},
"title": "ruby-mysql Client File Read",
"url": "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c2.10.0",
"affected_versions": "All versions before 2.10.0",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-07-05",
"description": "A malicious MySQL server can request local file content from a client using ruby-mysql prior to version 2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and later.",
"fixed_versions": [
"2.10.0"
],
"identifier": "CVE-2021-3779",
"identifiers": [
"GHSA-73pr-g6jj-5hc9",
"CVE-2021-3779"
],
"not_impacted": "All versions starting from 2.10.0",
"package_slug": "gem/ruby-mysql",
"pubdate": "2022-06-29",
"solution": "Upgrade to version 2.10.0 or above.",
"title": "Externally Controlled Reference to a Resource in Another Sphere in ruby-mysql",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-3779",
"https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/",
"https://github.com/advisories/GHSA-73pr-g6jj-5hc9"
],
"uuid": "8513e515-3137-495b-afd6-4d837acf38b9"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:ruby-mysql_project:ruby-mysql:*:*:*:*:*:ruby:*:*",
"cpe_name": [],
"versionEndExcluding": "2.10.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@rapid7.com",
"ID": "CVE-2021-3779"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "A malicious MySQL server can request local file content from a client using ruby-mysql prior to version 2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and later."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-610"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/",
"refsource": "MISC",
"tags": [
"Exploit",
"Mitigation",
"Third Party Advisory"
],
"url": "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "NONE",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-07-07T20:59Z",
"publishedDate": "2022-06-28T17: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…