{"id":"CVE-2018-12326","state":"PUBLISHED","title":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line","description":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source.","publishedAt":"2018-06-17T14:00:00.000Z","updatedAt":"2024-08-05T08:30:59.784Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","https://www.exploit-db.com/exploits/44904/","https://access.redhat.com/errata/RHSA-2019:0052","https://access.redhat.com/errata/RHSA-2019:0094","https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","https://access.redhat.com/errata/RHSA-2019:1860"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:15.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/12xxx/CVE-2018-12326.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-12326","state":"PUBLISHED","datePublished":"2018-06-17T14:00:00.000Z","dateUpdated":"2024-08-05T08:30:59.784Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-06-13T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/44904/","name":"44904","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0052","name":"RHSA-2019:0052","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0094","name":"RHSA-2019:0094","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1860","name":"RHSA-2019:1860","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-07-25T18:06:10.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-06-17T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-12326","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":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","refsource":"MISC","url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0"},{"name":"44904","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44904/"},{"name":"RHSA-2019:0052","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:0052"},{"name":"RHSA-2019:0094","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:0094"},{"name":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","refsource":"MISC","url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50"},{"name":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","refsource":"MISC","url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES"},{"name":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","refsource":"MISC","url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES"},{"name":"RHSA-2019:1860","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:1860"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/44904/","name":"44904","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0052","name":"RHSA-2019:0052","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0094","name":"RHSA-2019:0094","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1860","name":"RHSA-2019:1860","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T08:30:59.784Z"}}]}}}