{"answers":{"affected":"3 open source packages ship an affected version, including pyftpdlib. It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-6741 in the wild and no public exploit code.","fix":"Upgrade pyftpdlib to 0.2.0 or later.","what":"CVE-2007-6741 is a medium-severity vulnerability in n/a, published on 19 Oct 2010. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-6741 and fix it if it is affected.\n\nWhat it is: CVE-2007-6741 is a medium-severity vulnerability in n/a, published on 19 Oct 2010. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2007-6741 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyftpdlib (PyPI): affected all versions; fixed in 0.2.0\n- pyftpdlib (PyPI): affected all versions; fixed in 0.2.0\n- pyftpdlib (PyPI): affected all versions; fixed in 0.2.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-2007-6741/ (Markdown: https://insights.sbomify.com/CVE-2007-6741/index.md)","id":"CVE-2007-6741","markdown":"https://insights.sbomify.com/CVE-2007-6741/index.md","name":"CVE-2007-6741","record":{"aliases":["GHSA-8xgx-75qw-6268","PYSEC-2010-25"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python FTP server library","requires_auth":"low_privilege","summary":"Authenticated users can bypass FTP bounce restrictions to connect to privileged ports, potentially attacking internal hosts via NAT.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pyftpdlib","vendor":"g.rodola"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"The ftp_PORT function in FTPServer.py in pyftpdlib before 0.2.0 does not prevent TCP connections to privileged ports if the destination IP address matches the source IP address of the connection from the FTP client, which might allow remote authenticated users to conduct FTP bounce attacks via crafted FTP data, as demonstrated by an FTP bounce attack against a NAT server, a related issue to CVE-1999-0017.","ecosystems":["PyPI"],"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":"Improper privilege management in pyftpdlib","id":"CVE-2007-6741","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2007"},"n_packages":3,"n_references":4,"next":{"headline":"Denial of service in n/a","id":"CVE-2007-6742"},"packages":[{"ecosystem":"PyPI","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"pyftpdlib","purl":null,"source":"GHSA-8xgx-75qw-6268"},{"ecosystem":"PyPI","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"pyftpdlib","purl":"pkg:pypi/pyftpdlib","source":"GHSA-8xgx-75qw-6268"},{"ecosystem":"PyPI","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"pyftpdlib","purl":"pkg:pypi/pyftpdlib","source":"PYSEC-2010-25"}],"prev":{"headline":"pyftpdlib vulnerable to allocation of resources without limits","id":"CVE-2007-6740"},"products":["n/a"],"published":"2010-10-19","related":[{"cvss_score":7.5,"headline":"Improper Authentication in pyftpdlib","id":"CVE-2007-6737","kev_date_added":null,"published":"2010-10-19"},{"cvss_score":7.5,"headline":"Improper Authentication in pyftpdlib","id":"CVE-2008-7263","kev_date_added":null,"published":"2010-10-19"},{"cvss_score":6.5,"headline":"Directory Traversal in pyftpdlib","id":"CVE-2007-6736","kev_date_added":null,"published":"2010-10-19"},{"cvss_score":6.5,"headline":"Directory traversal in pyftpdlib","id":"CVE-2008-7262","kev_date_added":null,"published":"2010-10-19"},{"cvss_score":5,"headline":"pyftpdlib Use of Insufficiently Random Values of port selection on PASV command","id":"CVE-2007-6738","kev_date_added":null,"published":"2010-10-19"},{"cvss_score":5,"headline":"Improper Input Validation in pyftpdlib","id":"CVE-2007-6739","kev_date_added":null,"published":"2010-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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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-09-16","vendors":["n/a"]},"summary":"Authenticated users can bypass FTP bounce restrictions to connect to privileged ports, potentially attacking internal hosts via NAT.","url":"https://insights.sbomify.com/CVE-2007-6741/"}