CVE-2021-3779
Vulnerability from cvelistv5
Published
2022-06-28 16:30
Modified
2024-09-17 00:16
Severity ?
EPSS score ?
Summary
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.
References
▼ | URL | Tags | |
---|---|---|---|
cve@rapid7.com | https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/ | Exploit, Mitigation, Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/ | Exploit, Mitigation, Third Party Advisory |
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
Tomita Masahiro | ruby-mysql |
Version: 2.9.14 < |
{ containers: { adp: [ { providerMetadata: { dateUpdated: "2024-08-03T17:09:08.660Z", orgId: "af854a3a-2127-422b-91ae-364da2661108", shortName: "CVE", }, references: [ { tags: [ "x_refsource_MISC", "x_transferred", ], url: "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/", }, ], title: "CVE Program Container", }, ], cna: { affected: [ { product: "ruby-mysql", vendor: "Tomita Masahiro", versions: [ { lessThanOrEqual: "2.9.14", status: "affected", version: "2.9.14", versionType: "custom", }, ], }, ], credits: [ { lang: "en", value: "Discovered by Hans-Martin Münch of MOGWAI LABS GmbH, reported by Rapid7, coordinated by CERT/CC and JPCERT/CC", }, ], datePublic: "2022-06-28T00:00:00", descriptions: [ { 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.", }, ], problemTypes: [ { descriptions: [ { cweId: "CWE-610", description: "CWE-610 Externally Controlled Reference to a Resource in Another Sphere", lang: "en", type: "CWE", }, ], }, ], providerMetadata: { dateUpdated: "2022-06-28T16:30:15", orgId: "9974b330-7714-4307-a722-5648477acda7", shortName: "rapid7", }, references: [ { tags: [ "x_refsource_MISC", ], url: "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/", }, ], solutions: [ { lang: "en", value: "Update to version 2.10.0 or later of ruby-mysql", }, ], source: { discovery: "EXTERNAL", }, title: "Ruby-MySQL Gem Client File Read", x_generator: { engine: "Vulnogram 0.0.9", }, x_legacyV4Record: { 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: "<=", version_name: "2.9.14", version_value: "2.9.14", }, ], }, }, ], }, vendor_name: "Tomita Masahiro", }, ], }, }, credit: [ { lang: "eng", value: "Discovered by Hans-Martin Münch 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: "en", value: "Update to version 2.10.0 or later of ruby-mysql", }, ], source: { discovery: "EXTERNAL", }, }, }, }, cveMetadata: { assignerOrgId: "9974b330-7714-4307-a722-5648477acda7", assignerShortName: "rapid7", cveId: "CVE-2021-3779", datePublished: "2022-06-28T16:30:15.611030Z", dateReserved: "2021-09-07T00:00:00", dateUpdated: "2024-09-17T00:16:17.183Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", "vulnerability-lookup:meta": { nvd: "{\"cve\":{\"id\":\"CVE-2021-3779\",\"sourceIdentifier\":\"cve@rapid7.com\",\"published\":\"2022-06-28T17:15:07.827\",\"lastModified\":\"2024-11-21T06:22:24.573\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"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.\"},{\"lang\":\"es\",\"value\":\"Un servidor MySQL malicioso puede solicitar el contenido de un archivo local a un cliente usando ruby-mysql versiones anteriores a 2.10.0, sin autorización explícita del usuario. Este problema ha sido resuelto en versiones 2.10.0 y posteriores\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:N/C:P/I:N/A:N\",\"baseScore\":4.3,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.6,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":true}]},\"weaknesses\":[{\"source\":\"cve@rapid7.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-610\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-610\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ruby-mysql_project:ruby-mysql:*:*:*:*:*:ruby:*:*\",\"versionEndExcluding\":\"2.10.0\",\"matchCriteriaId\":\"036D01F1-8360-48A3-AEE2-8428E83EA61A\"}]}]}],\"references\":[{\"url\":\"https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/\",\"source\":\"cve@rapid7.com\",\"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/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Mitigation\",\"Third Party Advisory\"]}]}}", }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
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.