{"id":"UBUNTU-CVE-2023-50781","details":"A flaw was found in m2crypto. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data.","modified":"2026-05-20T16:13:56.246279383Z","published":"2024-02-05T21:15:00Z","upstream":["CVE-2023-50781"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-50781"},{"type":"REPORT","url":"https://gitlab.com/m2crypto/m2crypto/-/issues/342"},{"type":"REPORT","url":"https://people.redhat.com/~hkario/marvin/"},{"type":"REPORT","url":"https://github.com/openssl/openssl/pull/13817"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-50781"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2254426"},{"type":"REPORT","url":"https://people.redhat.com/~hkario/marvin/"}],"affected":[{"package":{"name":"m2crypto","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.1-3ubuntu3","0.21.1-3ubuntu4","0.21.1-3ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.21.1-3ubuntu5","binary_name":"python-m2crypto"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}},{"package":{"name":"m2crypto","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.1-3ubuntu5","0.22.6~rc4-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-m2crypto","binary_version":"0.22.6~rc4-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}},{"package":{"name":"m2crypto","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.24.0-2","0.27.0-2","0.27.0-4","0.27.0-4build1","0.27.0-5"],"ecosystem_specific":{"binaries":[{"binary_name":"python-m2crypto","binary_version":"0.27.0-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}},{"package":{"name":"m2crypto","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.31.0-6","0.31.0-6build1","0.31.0-7","0.31.0-8","0.31.0-9ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.31.0-9ubuntu1","binary_name":"python3-m2crypto"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}},{"package":{"name":"m2crypto","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.37.1-1ubuntu3","0.37.1-1ubuntu4","0.38.0-1ubuntu3","0.38.0-1ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.38.0-1ubuntu5","binary_name":"python3-m2crypto"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}},{"package":{"name":"m2crypto","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.38.0-4build1","0.38.0-4.1","0.40.1-0ubuntu1","0.40.1-1","0.40.1-2build1","0.40.1-2build2","0.40.1-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-m2crypto","binary_version":"0.40.1-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}},{"package":{"name":"m2crypto","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.42.0-2.1build1","0.42.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-m2crypto","binary_version":"0.42.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}},{"package":{"name":"m2crypto","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/m2crypto?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.42.0-3","0.46.2-2","0.46.2-3","0.46.2-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.46.2-3build1","binary_name":"python3-m2crypto"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50781.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}