Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-13882

CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The routine to check the log and report file permissions was not working as intended and could be bypassed locally. Because of the race, an unprivileged attacker can set up a log and report file, and control that up to the point where the specific routine is doing its check. After that, the file can be removed, recreated, and used for additional attacks.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13882
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:32 UTC · Revision 1

Source evidence

CVE-2020-13882

core-osv · Original source

Published 18 Jun 2020, 18:15 UTC

CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The routine to check the log and report file permissions was not working as intended and could be bypassed locally. Because of the race, an unprivileged attacker can set up a log and report file, and control that up to the point where the specific routine is doing its check. After that, the file can be removed, recreated, and used for additional attacks.

osv:CVE-2020-13882
Complete source record
{
  "id": "78e206d5581db3c141d91854aa33f03c239c87218711e5262f12d9e28e567073",
  "url": "https://osv.dev/vulnerability/CVE-2020-13882",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13882",
    "summary": "CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The routine to check the log and report file permissions was not working as intended and could be bypassed locally. Because of the race, an unprivileged attacker can set up a log and report file, and control that up to the point where the specific routine is doing its check. After that, the file can be removed, recreated, and used for additional attacks.",
    "evidence": "osv:CVE-2020-13882",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-13882",
      "aliases": [
        "CVE-2020-13882"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cisofy/lynis",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "05ef9547ae42c9885c84058c575b01ef9ec903cf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cisofy:lynis:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.7.5",
            "2.7.4",
            "2.7.3",
            "2.7.2",
            "2.7.1",
            "2.7.0",
            "2.6.9",
            "2.6.8",
            "2.6.7",
            "2.6.6",
            "2.6.5",
            "2.6.4",
            "2.6.3",
            "2.6.2",
            "2.6.1",
            "2.6.0",
            "2.5.9",
            "2.5.8",
            "2.5.7",
            "2.5.6",
            "2.5.5",
            "2.5.4",
            "2.5.3",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.8",
            "2.4.7",
            "2.4.6",
            "2.4.5",
            "2.4.4",
            "2.4.3",
            "2.4.2",
            "2.4.1",
            "2.4.0",
            "2.3.4",
            "2.3.3",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.0",
            "2.1.1",
            "2.1.0",
            "2.0.0",
            "1.6.4",
            "1.6.3",
            "1.6.2",
            "1.6.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13882.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:19.665939510Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD/",
        "https://cisofy.com/security/cve/cve-2020-13882/",
        "https://cwe.mitre.org/data/definitions/367.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  },
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-13882",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430080,
  "published_at": "2020-06-18T18:15:10.967+00:00"
}