{"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-6738 in the wild and no public exploit code.","fix":"Upgrade pyftpdlib to 0.1.1 or later.","what":"CVE-2007-6738 is a medium-severity vulnerability in n/a, published on 19 Oct 2010. 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-6738 and fix it if it is affected.\n\nWhat it is: CVE-2007-6738 is a medium-severity vulnerability in n/a, published on 19 Oct 2010. 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-6738 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyftpdlib (PyPI): affected all versions; fixed in 0.1.1\n- pyftpdlib (PyPI): affected all versions; fixed in 0.1.1\n- pyftpdlib (PyPI): affected all versions; fixed in 0.1.1\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-6738/ (Markdown: https://insights.sbomify.com/CVE-2007-6738/index.md)","id":"CVE-2007-6738","markdown":"https://insights.sbomify.com/CVE-2007-6738/index.md","name":"CVE-2007-6738","record":{"aliases":["GHSA-gh7c-cg3x-pmcr","PYSEC-2010-22"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python FTP server","requires_auth":"none","summary":"Remote attackers can infer the number of active data connections by observing predictable PASV port responses in pyftpdlib.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pyftpdlib","vendor":"g.rodola"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[],"description":"pyftpdlib before 0.1.1 does not choose a random value for the port associated with the PASV command, which makes it easier for remote attackers to obtain potentially sensitive information about the number of in-progress data connections by reading the response to this command.","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":"pyftpdlib Use of Insufficiently Random Values of port selection on PASV command","id":"CVE-2007-6738","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2007"},"n_packages":3,"n_references":1,"next":{"headline":"Improper Input Validation in pyftpdlib","id":"CVE-2007-6739"},"packages":[{"ecosystem":"PyPI","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"pyftpdlib","purl":null,"source":"GHSA-gh7c-cg3x-pmcr"},{"ecosystem":"PyPI","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"pyftpdlib","purl":"pkg:pypi/pyftpdlib","source":"GHSA-gh7c-cg3x-pmcr"},{"ecosystem":"PyPI","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"pyftpdlib","purl":"pkg:pypi/pyftpdlib","source":"PYSEC-2010-22"}],"prev":{"headline":"Improper Authentication in pyftpdlib","id":"CVE-2007-6737"},"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":"Improper privilege management in pyftpdlib","id":"CVE-2007-6741","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":"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Remote attackers can infer the number of active data connections by observing predictable PASV port responses in pyftpdlib.","url":"https://insights.sbomify.com/CVE-2007-6738/"}