Skip to content
Heist/ feed
Back to feed
High

odoo — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-23166

A sandboxing issue in Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and earlier allows authenticated administrators to read and write local files on the server.

Products
odoo
Affected versions
14.0.0+dfsg.2-7, 14.0.0+dfsg.3-1, 16.0.0+dfsg.1-3, 16.0.0+dfsg.2-1.1, 16.0.0+dfsg.2-2, 18.0.0+dfsg-2, 18.0.0+dfsg-2build1, 19.0.0+dfsg-1
Fixed versions
Not specified
CVEs
CVE-2021-23166
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:58 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-23166

core-osv · Original source

Published 25 Apr 2023, 19:15 UTC

A sandboxing issue in Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and earlier allows authenticated administrators to read and write local files on the server.

osv:UBUNTU-CVE-2021-23166

odoo

Fixed versions: Not specified

odoo

Fixed versions: Not specified

odoo

Fixed versions: Not specified

odoo

Fixed versions: Not specified

odoo

Fixed versions: Not specified

Complete source record
{
  "id": "d21b61478030e1fd06e1cf07749fdab79e4a43774c181703c11c6a5446ecf1c8",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-23166",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-23166",
    "summary": "A sandboxing issue in Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and earlier allows authenticated administrators to read and write local files on the server.",
    "evidence": "osv:UBUNTU-CVE-2021-23166",
    "products": [
      {
        "name": {
          "value": "odoo",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "14.0.0+dfsg.2-7",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "14.0.0+dfsg.3-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "odoo",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "16.0.0+dfsg.1-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "16.0.0+dfsg.2-1.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "16.0.0+dfsg.2-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "odoo",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "18.0.0+dfsg-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "odoo",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "18.0.0+dfsg-2build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "19.0.0+dfsg-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "odoo",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "18.0.0+dfsg-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "18.0.0+dfsg-2build1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2021-23166",
      "aliases": [
        "UBUNTU-CVE-2021-23166"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "odoo",
            "purl": "pkg:deb/ubuntu/odoo?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "14.0.0+dfsg.2-7",
            "14.0.0+dfsg.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23166.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "odoo-14",
                "binary_version": "14.0.0+dfsg.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "odoo",
            "purl": "pkg:deb/ubuntu/odoo?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "16.0.0+dfsg.1-3",
            "16.0.0+dfsg.2-1.1",
            "16.0.0+dfsg.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23166.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "odoo-16",
                "binary_version": "16.0.0+dfsg.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "odoo",
            "purl": "pkg:deb/ubuntu/odoo?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "18.0.0+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23166.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "odoo-18",
                "binary_version": "18.0.0+dfsg-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "odoo",
            "purl": "pkg:deb/ubuntu/odoo?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "18.0.0+dfsg-2build1",
            "19.0.0+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23166.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "odoo-19",
                "binary_version": "19.0.0+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "odoo",
            "purl": "pkg:deb/ubuntu/odoo?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "18.0.0+dfsg-2",
            "18.0.0+dfsg-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23166.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "odoo-18",
                "binary_version": "18.0.0+dfsg-2build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:19.649118024Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-23166"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-23166",
        "https://github.com/odoo/odoo/issues/107687",
        "https://www.cve.org/CVERecord?id=CVE-2021-23166"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-23166",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355273,
  "published_at": "2023-04-25T19:15:00+00:00"
}