{"id":"GHSA-mpg6-rgp4-35rr","summary":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in pyftpdlib","details":"Race condition in the FTPHandler class in ftpserver.py in pyftpdlib before 0.5.1 allows remote attackers to cause a denial of service (daemon outage) by establishing and then immediately closing a TCP connection, leading to the accept function having an unexpected return value of None, a different vulnerability than CVE-2010-3494.","aliases":["CVE-2009-5010","PYSEC-2010-7"],"modified":"2024-10-14T18:37:45.677572Z","published":"2022-05-02T04:00:27Z","database_specific":{"github_reviewed_at":"2022-06-17T22:23:26Z","nvd_published_at":"2010-10-19T20:00:00Z","cwe_ids":["CWE-362"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2009-5010"},{"type":"WEB","url":"https://bugs.launchpad.net/zodb/+bug/135108"},{"type":"PACKAGE","url":"https://github.com/giampaolo/pyftpdlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyftpdlib/PYSEC-2010-7.yaml"},{"type":"WEB","url":"http://bugs.python.org/issue6706"},{"type":"WEB","url":"http://code.google.com/p/pyftpdlib/issues/detail?id=91"},{"type":"WEB","url":"http://code.google.com/p/pyftpdlib/source/browse/trunk/HISTORY"},{"type":"WEB","url":"http://code.google.com/p/pyftpdlib/source/detail?r=439"},{"type":"WEB","url":"http://code.google.com/p/pyftpdlib/source/diff?spec=svn439&r=439&format=side&path=/trunk/pyftpdlib/ftpserver.py"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2010/09/09/6"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2010/09/11/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2010/09/22/3"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2010/09/24/3"}],"affected":[{"package":{"name":"pyftpdlib","ecosystem":"PyPI","purl":"pkg:pypi/pyftpdlib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.1"}]}],"versions":["0.2.0","0.3.0","0.4.0","0.5.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mpg6-rgp4-35rr/GHSA-mpg6-rgp4-35rr.json","last_known_affected_version_range":"\u003c= 0.5.0"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}