{"answers":{"affected":"2 open source packages ship an affected version, including log4net. It affects 7 products.","exploited":"There is no known exploitation of CVE-2018-1285 in the wild and no public exploit code.","fix":"Upgrade log4net to 2.0.10 or later.","what":"CVE-2018-1285 is a critical vulnerability in Fedoraproject Fedora, published on 11 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1285 and fix it if it is affected.\n\nWhat it is: CVE-2018-1285 is a critical vulnerability in Fedoraproject Fedora, published on 11 May 2020. 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-2018-1285 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- log4net (NuGet): affected all versions; fixed in 2.0.10\n- log4net (NuGet): affected all versions; fixed in 2.0.10\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-2018-1285/ (Markdown: https://insights.sbomify.com/CVE-2018-1285/index.md)","id":"CVE-2018-1285","markdown":"https://insights.sbomify.com/CVE-2018-1285/index.md","name":"CVE-2018-1285","record":{"aliases":["DEBIAN-CVE-2018-1285","DLA-2211-1","GHSA-2cwj-8chv-9pp9","MGASA-2020-0233","UBUNTU-CVE-2018-1285","USN-4699-1","openSUSE-SU-2024:12311-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache log4net","requires_auth":"none","summary":"Attackers can exploit XML external entity vulnerabilities in Apache log4net configuration parsing to read sensitive data or cause denial of service.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"log4net","vendor":"apache"},{"product":"fedora","vendor":"fedoraproject"},{"product":"manageability_software_development_kit","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"application_testing_suite","vendor":"oracle"},{"product":"hospitality_opera_5","vendor":"oracle"},{"product":"hospitality_simphony","vendor":"oracle"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files. This allows for XXE-based attacks in applications that accept attacker-controlled log4net configuration files.","ecosystems":["NuGet","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2021-12-31","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-12-31T18:21:32Z","kind":"github_poc","ref":"https://github.com/alex-ermolaev/Log4NetSolarWindsSNMP-","stars":1,"title":"Test application for CVE-2018-1285 alert for Solarwinds DLLs"}],"tier":"poc_unverified"},"has_fix":true,"headline":"XML External Entity attack in log4net","id":"CVE-2018-1285","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":"fedoraproject:fedora","products":["fedoraproject:fedora","netapp:snapcenter","oracle:application_testing_suite"],"type":"xxe","year":"2018"},"n_packages":3,"n_references":17,"next":{"headline":"Apache OpenMeetings may allow authenticated attacker to deny service for privileged users","id":"CVE-2018-1286"},"packages":[{"ecosystem":"NuGet","fixed":["2.0.10"],"introduced":["0"],"last_affected":[],"package":"log4net","purl":null,"source":"GHSA-2cwj-8chv-9pp9"},{"ecosystem":"NuGet","fixed":["2.0.10"],"introduced":["0"],"last_affected":[],"package":"log4net","purl":"pkg:nuget/log4net","source":"GHSA-2cwj-8chv-9pp9"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.2.10-78.1"],"introduced":["0"],"last_affected":[],"package":"log4net","purl":"pkg:rpm/opensuse/log4net\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12311-1"}],"prev":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in Apache hive","id":"CVE-2018-1284"},"products":["Apache log4net"],"published":"2020-05-11","related":[{"cvss_score":6.3,"headline":"Apache Log4net: Silent log event loss in XmlLayout and XmlLayoutSchemaLog4J due to unescaped XML 1.0 forbidden characters","id":"CVE-2026-40021","kev_date_added":null,"published":"2026-04-10"},{"cvss_score":5.3,"headline":"Apache log4net: NUL character truncates EventLogAppender records","id":"CVE-2026-105239","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":5.3,"headline":"Apache log4net: NUL character truncates OutputDebugStringAppender records","id":"CVE-2026-105240","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":5.3,"headline":"Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch","id":"CVE-2026-105241","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":5.3,"headline":"Apache log4net: Request validation failure drops the event in the aspnet-request converter","id":"CVE-2026-105242","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":5.3,"headline":"Apache log4net: Oversize EventLogAppender record silently discarded","id":"CVE-2026-105243","kev_date_added":null,"published":"2026-10-06"}],"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can exploit XML external entity vulnerabilities in Apache log4net configuration parsing to read sensitive data or cause denial of service.","url":"https://insights.sbomify.com/CVE-2018-1285/"}