Denis Kasak discovered that Olm was not verifying the length of input being processed by the olmpkdecrypt module, which introduced a stack-based buffer overflow vulnerability to the library. An attacker could use this to cause a denial of service (application crash) or possibly execute arbitrary code.
{
"binaries": [
{
"binary_name": "libolm-dev",
"binary_version": "3.1.3+dfsg-2ubuntu0.1~esm1"
},
{
"binary_name": "libolm3",
"binary_version": "3.1.3+dfsg-2ubuntu0.1~esm1"
},
{
"binary_name": "python3-olm",
"binary_version": "3.1.3+dfsg-2ubuntu0.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
{
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"cves": [
{
"id": "CVE-2021-34813",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5194-1.json"