{"answers":{"affected":"2 open source packages ship an affected version, including rails. It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-5379 in the wild and no public exploit code.","fix":"Upgrade rails to 1.2.4 or later.","what":"CVE-2007-5379 is a medium-severity vulnerability in n/a, published on 19 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-5379 and fix it if it is affected.\n\nWhat it is: CVE-2007-5379 is a medium-severity vulnerability in n/a, published on 19 Oct 2007. 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-2007-5379 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rails (RubyGems): affected all versions; fixed in 1.2.4\n- rails (RubyGems): affected all versions; fixed in 1.2.4\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-2007-5379/ (Markdown: https://insights.sbomify.com/CVE-2007-5379/index.md)","id":"CVE-2007-5379","markdown":"https://insights.sbomify.com/CVE-2007-5379/index.md","name":"CVE-2007-5379","record":{"aliases":["DEBIAN-CVE-2007-5379","GHSA-fjfg-q662-gm6j"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby on Rails","requires_auth":"none","summary":"Remote attackers can read arbitrary XML files and determine file existence via unsafe XML parsing in Ruby on Rails.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ruby_on_rails","vendor":"david_hansson"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers and ActiveResource servers to determine the existence of arbitrary files and read arbitrary XML files via the Hash.from_xml (Hash#from_xml) method, which uses XmlSimple (XML::Simple) unsafely, as demonstrated by reading passwords from the Pidgin (Gaim) .purple/accounts.xml file.","ecosystems":["RubyGems"],"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":"Moderate severity vulnerability that affects rails","id":"CVE-2007-5379","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"information_disclosure","year":"2007"},"n_packages":2,"n_references":13,"next":{"headline":"Session fixation vulnerability in Rails","id":"CVE-2007-5380"},"packages":[{"ecosystem":"RubyGems","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"rails","purl":null,"source":"GHSA-fjfg-q662-gm6j"},{"ecosystem":"RubyGems","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"rails","purl":"pkg:gem/rails","source":"GHSA-fjfg-q662-gm6j"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2007-5378"},"products":["n/a"],"published":"2007-10-19","related":[{"cvss_score":6.8,"headline":"Session fixation vulnerability in Rails","id":"CVE-2007-5380","kev_date_added":null,"published":"2007-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary XML files and determine file existence via unsafe XML parsing in Ruby on Rails.","url":"https://insights.sbomify.com/CVE-2007-5379/"}