{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 7.0, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "ruby", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "ruby-devel", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "ruby-doc", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "ruby-irb", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "ruby-libs", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "ruby-tcltk", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygem-bigdecimal", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygem-io-console", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygem-json", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygem-minitest", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygem-psych", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygem-rake", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygem-rdoc", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygems", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "rubygems-devel", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2016-2339"}], "descriptions": [{"lang": "en", "value": "The CVE program describes this issue as: An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_types\" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow. \n            Red Hat Product Security has rated this issue as having Moderate security\nimpact. This issue is not currently planned to be addressed in future\nupdates. For additional information, refer to the Issue Severity\nClassification: https://access.redhat.com/security/updates/classification/."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2016-06-14T00:00:00Z", "x_subShortName": "redhat_7"}}, {"metrics": [{"cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 7.0, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "ruby", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-devel", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-docs", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-irb", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-libs", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-rdoc", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-ri", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-static", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-tcltk", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2016-2339"}], "descriptions": [{"lang": "en", "value": "Red Hat's versions of the associated software have been determined to NOT be affected by CVE-2016-2339."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2016-06-14T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "suse", "product": "ruby", "platforms": ["cpe:/o:suse:sle_hpc:11:sp4", "cpe:/o:suse:sles:11:sp4", "cpe:/o:suse:sles_sap:11:sp4"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-doc-html", "platforms": ["cpe:/o:suse:sle_hpc:11:sp4", "cpe:/o:suse:sles:11:sp4", "cpe:/o:suse:sles_sap:11:sp4"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby-tk", "platforms": ["cpe:/o:suse:sle_hpc:11:sp4", "cpe:/o:suse:sles:11:sp4", "cpe:/o:suse:sles_sap:11:sp4"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 1018808"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2339", "name": "Mitre CVE-2016-2339"}, {"url": "https://www.suse.com/security/cve/CVE-2016-2339", "name": "SUSE CVE-2016-2339"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-January/006365.html", "name": "SUSE-CU-2019:738-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-November/007731.html", "name": "SUSE-CU-2020:661-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2017-April/002781.html", "name": "SUSE-SU-2017:0914-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2017-April/002820.html", "name": "SUSE-SU-2017:1067-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-June/006905.html", "name": "SUSE-SU-2020:1570-1"}, {"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NN3PF6D5DG5GPXCDU63SOQNQPYN3R3YU/#NN3PF6D5DG5GPXCDU63SOQNQPYN3R3YU", "name": "openSUSE-SU-2017:0933-1"}, {"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/IKBQ5YAMGLRNEEVLWJI5N2R3Q6Y32KQN/#IKBQ5YAMGLRNEEVLWJI5N2R3Q6Y32KQN", "name": "openSUSE-SU-2017:1128-1"}], "descriptions": [{"lang": "en", "value": "\n    An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_types\" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2025-06-26T00:00:00Z", "x_subShortName": "suse_server_11"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "suse", "product": "libruby2_1-2_1", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.1.9-15.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sled:12:sp1", "cpe:/o:suse:sled:12:sp2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby2.1", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.1.9-15.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sled:12:sp1", "cpe:/o:suse:sled:12:sp2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby2.1-stdlib", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.1.9-15.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sled:12:sp1", "cpe:/o:suse:sled:12:sp2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "libruby2_1-2_1", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.1.9-18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sled:12:sp3", "cpe:/o:suse:sled:12:sp4"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby2.1", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.1.9-18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sled:12:sp3", "cpe:/o:suse:sled:12:sp4"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "ruby2.1-stdlib", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.1.9-18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sled:12:sp3", "cpe:/o:suse:sled:12:sp4"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 1018808"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2339", "name": "Mitre CVE-2016-2339"}, {"url": "https://www.suse.com/security/cve/CVE-2016-2339", "name": "SUSE CVE-2016-2339"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-January/006365.html", "name": "SUSE-CU-2019:738-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-November/007731.html", "name": "SUSE-CU-2020:661-1"}, {"url": "https://lists.opensuse.org/opensuse-security-announce/2017-04/msg00006.html", "name": "SUSE-SU-2017:0914-1"}, {"url": "https://lists.opensuse.org/opensuse-security-announce/2017-04/msg00024.html", "name": "SUSE-SU-2017:1067-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-June/006905.html", "name": "SUSE-SU-2020:1570-1"}, {"url": "https://lists.opensuse.org/opensuse-security-announce/2017-04/msg00007.html", "name": "openSUSE-SU-2017:0933-1"}, {"url": "https://lists.opensuse.org/opensuse-security-announce/2017-04/msg00034.html", "name": "openSUSE-SU-2017:1128-1"}], "descriptions": [{"lang": "en", "value": "\n    An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_types\" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_desktop_12"}}, {"metrics": [{"cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"low\"}"}}}], "affected": [{"vendor": "canonical", "product": "libruby1.9.1", "versions": [{"status": "affected", "version": "0", "lessThan": "1.9.3.484-2ubuntu1.3", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "libruby2.0", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.0.484-1ubuntu2.4", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "libtcltk-ruby1.9.1", "versions": [{"status": "affected", "version": "0", "lessThan": "1.9.3.484-2ubuntu1.3", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "ri1.9.1", "versions": [{"status": "affected", "version": "0", "lessThan": "1.9.3.484-2ubuntu1.3", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "ruby1.9.1", "versions": [{"status": "affected", "version": "0", "lessThan": "1.9.3.484-2ubuntu1.3", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "ruby1.9.1-examples", "versions": [{"status": "affected", "version": "0", "lessThan": "1.9.3.484-2ubuntu1.3", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "ruby1.9.1-full", "versions": [{"status": "affected", "version": "0", "lessThan": "1.9.3.484-2ubuntu1.3", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "ruby1.9.3", "versions": [{"status": "affected", "version": "0", "lessThan": "1.9.3.484-2ubuntu1.3", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "ruby2.0", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.0.484-1ubuntu2.4", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "ruby2.0-tcltk", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.0.484-1ubuntu2.4", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://ubuntu.com/security/CVE-2016-2339"}, {"url": "https://ubuntu.com/security/notices/USN-3365-1"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2016-2339"}], "descriptions": [{"lang": "en", "value": "An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_types\" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow."}, {"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "solutions": [{"lang": "en", "value": "SUSE bug 1018808"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2339", "name": "Mitre CVE-2016-2339"}, {"url": "https://www.suse.com/security/cve/CVE-2016-2339", "name": "SUSE CVE-2016-2339"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-January/006365.html", "name": "SUSE-CU-2019:738-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-November/007731.html", "name": "SUSE-CU-2020:661-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2017-April/002781.html", "name": "SUSE-SU-2017:0914-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2017-April/002820.html", "name": "SUSE-SU-2017:1067-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2020-June/006905.html", "name": "SUSE-SU-2020:1570-1"}, {"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NN3PF6D5DG5GPXCDU63SOQNQPYN3R3YU/#NN3PF6D5DG5GPXCDU63SOQNQPYN3R3YU", "name": "openSUSE-SU-2017:0933-1"}, {"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/IKBQ5YAMGLRNEEVLWJI5N2R3Q6Y32KQN/#IKBQ5YAMGLRNEEVLWJI5N2R3Q6Y32KQN", "name": "openSUSE-SU-2017:1128-1"}], "descriptions": [{"lang": "en", "value": "\n    An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_types\" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_server_12"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"format": "CVSS", "cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*"], "vendor": "ruby-lang", "product": "ruby", "versions": [{"status": "affected", "version": "2.2.2"}, {"status": "affected", "version": "2.3.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.talosintelligence.com/reports/TALOS-2016-0034/", "tags": ["exploit", "technical-description", "third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/bid/91234"}, {"url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"}], "descriptions": [{"lang": "en", "value": "An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_types\" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow."}, {"lang": "es", "value": "Existe una vulnerabilidad explotable de desbordamiento de memoria dinámica en la funcionalidad Fiddle::Function.new \"initialize\" de Ruby. En Fiddle::Function.new \"initialize\" la ubicación \"arg_types\" de la memoria dinámica del búfer se hace en base a la longitud de los args array. Un objeto especialmente construido pasado como un elemento de los args array puede incrementar el tamaño de este array después de haber mencionado la ubicación y provocar desbordamiento de memoria dinámica."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-119", "description": "CWE-119"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2017-01-06T21:59:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-2339", "state": "PUBLISHED", "dateUpdated": "2025-04-20T01:37:25Z", "assignerOrgId": "37e5125f-f79b-445b-8fad-9564f167944b", "datePublished": "2017-01-06T21:59:00Z", "assignerShortName": "certcc"}, "dataVersion": "5.0"}