{"answers":{"affected":"2 open source packages ship an affected version, including commons-net:commons-net. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-37533 in the wild and no public exploit code.","fix":"Upgrade commons-net:commons-net to 3.9.0 or later.","what":"CVE-2021-37533 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Dec 2022."},"fix_prompt":"Check this codebase for CVE-2021-37533 and fix it if it is affected.\n\nWhat it is: CVE-2021-37533 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Dec 2022. \nExploitation: There is no known exploitation of CVE-2021-37533 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- commons-net:commons-net (Maven): affected all versions; fixed in 3.9.0\n- commons-net:commons-net (Maven): affected all versions; fixed in 3.9.0\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-2021-37533/ (Markdown: https://insights.sbomify.com/CVE-2021-37533/index.md)","id":"CVE-2021-37533","markdown":"https://insights.sbomify.com/CVE-2021-37533/index.md","name":"CVE-2021-37533","record":{"aliases":["CLEANSTART-2026-BN50776","CLEANSTART-2026-ZL12705","DEBIAN-CVE-2021-37533","DLA-3251-1","DSA-5307-1","ECHO-8f21-184c-65cc","GHSA-cgp8-4m63-fhh5","MINI-3rff-fjqg-w9h2","MINI-44v2-pvxr-7mj5","MINI-qmx8-qh23-5v35","OESA-2023-1882","RHLW-2026-20f36034f30c7a24","RHLW-2026-71f0bc56442456d3","RHLW-2026-93c3daf552b9d6bc","RHLW-2026-94b9703160382a25","RHLW-2026-b6ad3b6e26ec332f","RHLW-2026-c7216db110a73995","RHLW-2026-ce8caf53627ada47","RHLW-2026-d10068b21671906a","RHLW-2026-e16a7a7e33d1bd95","UBUNTU-CVE-2021-37533","USN-6037-1","openSUSE-SU-2024:12549-1"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"commons_net","vendor":"apache"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Prior to Apache Commons Net 3.9.0, Net's FTP client trusts the host from PASV response by default. A malicious server can redirect the Commons Net code to use a different host, but the user has to connect to the malicious server in the first place. This may lead to leakage of information about services running on the private network of the client. The default in version 3.9.0 is now false to ignore such hosts, as cURL does. See https://issues.apache.org/jira/browse/NET-711.","ecosystems":["Maven","openSUSE:Tumbleweed"],"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":"Apache Commons Net's FTP client trusts the host from PASV response by default","id":"CVE-2021-37533","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"debian:debian_linux","products":["debian:debian_linux"],"type":null,"year":"2021"},"n_packages":3,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-37534"},"packages":[{"ecosystem":"Maven","fixed":["3.9.0"],"introduced":["0"],"last_affected":[],"package":"commons-net:commons-net","purl":null,"source":"GHSA-cgp8-4m63-fhh5"},{"ecosystem":"Maven","fixed":["3.9.0"],"introduced":["0"],"last_affected":[],"package":"commons-net:commons-net","purl":"pkg:maven/commons-net/commons-net","source":"GHSA-cgp8-4m63-fhh5"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.9.0-1.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-net","purl":"pkg:rpm/opensuse/apache-commons-net\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12549-1"}],"prev":{"headline":"Path traversal in SAP Business One","id":"CVE-2021-37532"},"products":["Apache Commons Net"],"published":"2022-12-03","related":[],"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-24","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2021-37533/"}