{
  "schema_version": "1.6.2",
  "id": "MGASA-2020-0303",
  "published": "2020-07-31T23:25:42Z",
  "modified": "2020-07-31T22:42:17Z",
  "summary": "Updated nasm packages fix security vulnerability",
  "details": "Netwide Assembler (NASM) 2.13 has a stack-based buffer over-read in the disasm\nfunction of the disasm/disasm.c file. Remote attackers could leverage this\nvulnerability to cause a denial of service or possibly have unspecified other\nimpact via a crafted ELF file (CVE-2018-10254).\n\nNetwide Assembler (NASM) 2.14rc0 has an endless while loop in the\nassemble_file function of asm/nasm.c because of a globallineno integer\noverflow (CVE-2018-10316).\n\nNetwide Assembler (NASM) 2.14rc15 has a buffer over-read in x86/regflags.c\n(CVE-2018-16382).\n\nNASM nasm-2.13.03 nasm- 2.14rc15 version 2.14rc15 and earlier contains a\nmemory corruption (crashed) of nasm when handling a crafted file due to\nfunction assemble_file(inname, depend_ptr) at asm/nasm.c:482. vulnerability in\nfunction assemble_file(inname, depend_ptr) at asm/nasm.c:482. that can result\nin aborting/crash nasm program. This attack appear to be exploitable via a\nspecially crafted asm file (CVE-2018-1000667).\n\nasm/labels.c in Netwide Assembler (NASM) is prone to NULL Pointer Dereference,\nwhich allows the attacker to cause a denial of service via a crafted file\n(CVE-2018-16517).\n\nNetwide Assembler (NASM) 2.14rc15 has an invalid memory write (segmentation\nfault) in expand_smacro in preproc.c, which allows attackers to cause a denial\nof service via a crafted input file (CVE-2018-16999).\n\nNetwide Assembler (NASM) 2.14rc16 has a heap-based buffer over-read in\nexpand_mmac_params in asm/preproc.c for the special cases of the % and $ and !\ncharacters (CVE-2018-19215).\n\nNetwide Assembler (NASM) 2.14rc15 has a heap-based buffer over-read in\nexpand_mmac_params in asm/preproc.c for insufficient input (CVE-2018-19214).\n",
  "related": [
    "CVE-2018-10016",
    "CVE-2018-10254",
    "CVE-2018-10316",
    "CVE-2018-16382",
    "CVE-2018-16517",
    "CVE-2018-16999",
    "CVE-2018-19214",
    "CVE-2018-19215",
    "CVE-2018-1000667"
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisories.mageia.org/MGASA-2020-0303.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.mageia.org/show_bug.cgi?id=26916"
    },
    {
      "type": "REPORT",
      "url": "https://lists.suse.com/pipermail/sle-security-updates/2020-July/007073.html"
    },
    {
      "type": "REPORT",
      "url": "https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00015.html"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Mageia:7",
        "name": "nasm",
        "purl": "pkg:rpm/mageia/nasm?arch=source&distro=mageia-7"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.14.02-1.mga7"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    }
  ],
  "credits": [
    {
      "name": "Mageia",
      "type": "COORDINATOR",
      "contact": [
        "https://wiki.mageia.org/en/Packages_Security_Team"
      ]
    }
  ]
}
