{"answers":{"affected":"2 open source packages ship an affected version, including ruby and ruby-min. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-28739 in the wild and no public exploit code.","fix":"Upgrade ruby to a fixed version for your release line: 2.6.10, 2.7.6, 3.0.4 or 3.1.2.","what":"CVE-2022-28739 is a high-severity memory corruption vulnerability in Apple Macos, published on 9 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-28739 and fix it if it is affected.\n\nWhat it is: CVE-2022-28739 is a high-severity memory corruption vulnerability in Apple Macos, published on 9 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-28739 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ruby (Bitnami): affected all versions; fixed in 2.6.10, 2.7.6, 3.0.4, 3.1.2\n- ruby-min (Bitnami): affected all versions; fixed in 2.6.10, 2.7.6, 3.0.4, 3.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-28739/ (Markdown: https://insights.sbomify.com/CVE-2022-28739/index.md)","id":"CVE-2022-28739","markdown":"https://insights.sbomify.com/CVE-2022-28739/index.md","name":"CVE-2022-28739","record":{"aliases":["ALPINE-CVE-2022-28739","BIT-ruby-2022-28739","BIT-ruby-min-2022-28739","CLEANSTART-2026-FA27151","DEBIAN-CVE-2022-28739","GHSA-mvgc-rxvg-hqc6","JLSEC-2026-1290","RHSA-2022:5338","RLSA-2022:5338","UBUNTU-CVE-2022-28739","USN-5462-2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby programming language","requires_auth":"none","summary":"A buffer over-read in Ruby's String-to-Float conversion allows attackers to cause denial of service or disclose sensitive memory information.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"macos","vendor":"apple"},{"product":"debian_linux","vendor":"debian"},{"product":"ruby","vendor":"ruby-lang"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.","ecosystems":["Bitnami","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2022-28739","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apple:macos","products":["apple:macos","debian:debian_linux","ruby-lang:ruby"],"type":"memory_corruption","year":"2022"},"n_packages":61,"n_references":14,"next":{"headline":"Information disclosure in n/a","id":"CVE-2022-28740"},"packages":[{"ecosystem":"Bitnami","fixed":["2.6.10","2.7.6","3.0.4","3.1.2"],"introduced":["0","2.7.0","3.0.0","3.1.0"],"last_affected":[],"package":"ruby","purl":"pkg:bitnami/ruby","source":"BIT-ruby-2022-28739"},{"ecosystem":"Bitnami","fixed":["2.6.10","2.7.6","3.0.4","3.1.2"],"introduced":["0","2.7.0","3.0.0","3.1.0"],"last_affected":[],"package":"ruby-min","purl":"pkg:bitnami/ruby-min","source":"BIT-ruby-min-2022-28739"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.6.10-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"ruby","purl":"pkg:rpm/redhat/ruby","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.6.10-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"ruby-debuginfo","purl":"pkg:rpm/redhat/ruby-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.6.10-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"ruby-debugsource","purl":"pkg:rpm/redhat/ruby-debugsource","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.6.10-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"ruby-devel","purl":"pkg:rpm/redhat/ruby-devel","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.6.10-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"ruby-doc","purl":"pkg:rpm/redhat/ruby-doc","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.6.10-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"ruby-libs","purl":"pkg:rpm/redhat/ruby-libs","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.6.10-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"ruby-libs-debuginfo","purl":"pkg:rpm/redhat/ruby-libs-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.3.0-4.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-abrt","purl":"pkg:rpm/redhat/rubygem-abrt","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.3.0-4.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-abrt-doc","purl":"pkg:rpm/redhat/rubygem-abrt-doc","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.1-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-bigdecimal","purl":"pkg:rpm/redhat/rubygem-bigdecimal","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.1-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-bigdecimal-debuginfo","purl":"pkg:rpm/redhat/rubygem-bigdecimal-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.5.0-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson","purl":"pkg:rpm/redhat/rubygem-bson","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.5.0-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson-debuginfo","purl":"pkg:rpm/redhat/rubygem-bson-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.5.0-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson-debugsource","purl":"pkg:rpm/redhat/rubygem-bson-debugsource","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.5.0-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson-doc","purl":"pkg:rpm/redhat/rubygem-bson-doc","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.17.2-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler","purl":"pkg:rpm/redhat/rubygem-bundler","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.0-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-did_you_mean","purl":"pkg:rpm/redhat/rubygem-did_you_mean","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.4.7-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-io-console","purl":"pkg:rpm/redhat/rubygem-io-console","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.4.7-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-io-console-debuginfo","purl":"pkg:rpm/redhat/rubygem-io-console-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.0-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-irb","purl":"pkg:rpm/redhat/rubygem-irb","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.1.0-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-json","purl":"pkg:rpm/redhat/rubygem-json","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.1.0-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-json-debuginfo","purl":"pkg:rpm/redhat/rubygem-json-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.11.3-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-minitest","purl":"pkg:rpm/redhat/rubygem-minitest","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.8.0-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-mongo","purl":"pkg:rpm/redhat/rubygem-mongo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.8.0-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-mongo-doc","purl":"pkg:rpm/redhat/rubygem-mongo-doc","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.5.2-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2","purl":"pkg:rpm/redhat/rubygem-mysql2","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.5.2-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2-debuginfo","purl":"pkg:rpm/redhat/rubygem-mysql2-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.5.2-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2-debugsource","purl":"pkg:rpm/redhat/rubygem-mysql2-debugsource","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.5.2-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2-doc","purl":"pkg:rpm/redhat/rubygem-mysql2-doc","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.2.0-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-net-telnet","purl":"pkg:rpm/redhat/rubygem-net-telnet","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.1.2-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-openssl","purl":"pkg:rpm/redhat/rubygem-openssl","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.1.2-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-openssl-debuginfo","purl":"pkg:rpm/redhat/rubygem-openssl-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.1.4-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-pg","purl":"pkg:rpm/redhat/rubygem-pg","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.1.4-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-pg-debuginfo","purl":"pkg:rpm/redhat/rubygem-pg-debuginfo","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.1.4-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-pg-debugsource","purl":"pkg:rpm/redhat/rubygem-pg-debugsource","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.1.4-1.module+el8.1.0+3653+beb38eb0"],"introduced":["0"],"last_affected":[],"package":"rubygem-pg-doc","purl":"pkg:rpm/redhat/rubygem-pg-doc","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.1.3-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-power_assert","purl":"pkg:rpm/redhat/rubygem-power_assert","source":"RHSA-2022:5338"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.1.0-109.module+el8.6.0+15475+c55337b4"],"introduced":["0"],"last_affected":[],"package":"rubygem-psych","purl":"pkg:rpm/redhat/rubygem-psych","source":"RHSA-2022:5338"}],"prev":{"headline":"Use after free in n/a","id":"CVE-2022-28738"},"products":["n/a"],"published":"2022-05-09","related":[{"cvss_score":9.8,"headline":"Apple macOS Improper Authentication","id":"CVE-2026-65400","kev_date_added":"2026-08-18","published":"2026-08-06"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44146","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2024-44148","kev_date_added":null,"published":"2024-09-16"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-38586","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Security feature bypass in macOS","id":"CVE-2023-40455","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-1999-0590","kev_date_added":null,"published":"2000-02-04"},{"cvss_score":9.8,"headline":"Memory corruption in macOS","id":"CVE-2026-84520","kev_date_added":null,"published":"2026-09-14"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"A buffer over-read in Ruby's String-to-Float conversion allows attackers to cause denial of service or disclose sensitive memory information.","url":"https://insights.sbomify.com/CVE-2022-28739/"}