ubuntu-cve-2022-3341
Vulnerability from osv_ubuntu
Published
2023-01-12 15:15
Modified
2026-04-22 07:41
Summary
Details

A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs because the function lacks check of the return value of avformat_new_stream() and triggers the null pointer dereference error, causing an application to crash.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libav-tools",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavcodec-ffmpeg-extra56",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavcodec-ffmpeg56",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavdevice-ffmpeg56",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavfilter-ffmpeg5",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavformat-ffmpeg56",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavresample-ffmpeg2",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libavutil-ffmpeg54",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libpostproc-ffmpeg53",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libswresample-ffmpeg1",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          },
          {
            "binary_name": "libswscale-ffmpeg3",
            "binary_version": "7:2.8.17-0ubuntu0.1+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:2.8.17-0ubuntu0.1+esm5?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:2.8.17-0ubuntu0.1+esm5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7:2.7.2-1build1",
        "7:2.8.1-1ubuntu1",
        "7:2.8.2-1ubuntu1",
        "7:2.8.3-1",
        "7:2.8.4-1",
        "7:2.8.4-1ubuntu1",
        "7:2.8.4-1ubuntu2",
        "7:2.8.4-1ubuntu3",
        "7:2.8.4-1ubuntu4",
        "7:2.8.6-1ubuntu1",
        "7:2.8.6-1ubuntu2",
        "7:2.8.8-0ubuntu0.16.04.1",
        "7:2.8.10-0ubuntu0.16.04.1",
        "7:2.8.11-0ubuntu0.16.04.1",
        "7:2.8.14-0ubuntu0.16.04.1",
        "7:2.8.15-0ubuntu0.16.04.1",
        "7:2.8.15-0ubuntu0.16.04.1+esm1",
        "7:2.8.17-0ubuntu0.1",
        "7:2.8.17-0ubuntu0.1+esm1",
        "7:2.8.17-0ubuntu0.1+esm2",
        "7:2.8.17-0ubuntu0.1+esm3",
        "7:2.8.17-0ubuntu0.1+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra57",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavcodec57",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavdevice57",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavfilter-extra6",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavfilter6",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavformat57",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavresample3",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavutil55",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libpostproc54",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libswresample2",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libswscale4",
            "binary_version": "7:3.4.11-0ubuntu0.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:3.4.11-0ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:3.4.11-0ubuntu0.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7:3.3.4-2",
        "7:3.3.4-2build3",
        "7:3.4-2ubuntu2",
        "7:3.4-4",
        "7:3.4-4build1",
        "7:3.4.1-1",
        "7:3.4.1-1build1",
        "7:3.4.2-1",
        "7:3.4.2-1build1",
        "7:3.4.2-2",
        "7:3.4.4-0ubuntu0.18.04.1",
        "7:3.4.6-0ubuntu0.18.04.1",
        "7:3.4.8-0ubuntu0.2",
        "7:3.4.11-0ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra58",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavcodec58",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavdevice58",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavfilter-extra7",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavfilter7",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavformat58",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavresample4",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libavutil56",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libpostproc55",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libswresample3",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          },
          {
            "binary_name": "libswscale5",
            "binary_version": "7:4.2.7-0ubuntu0.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:4.2.7-0ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:4.2.7-0ubuntu0.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7:4.1.4-1build2",
        "7:4.2.1-2",
        "7:4.2.1-2ubuntu1",
        "7:4.2.2-1build1",
        "7:4.2.2-1ubuntu1",
        "7:4.2.4-1ubuntu0.1",
        "7:4.2.4-1ubuntu0.1+esm1",
        "7:4.2.7-0ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavcodec58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavdevice58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavfilter-extra7",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavfilter7",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavformat-extra",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavformat-extra58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavformat58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libavutil56",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libpostproc55",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libswresample3",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          },
          {
            "binary_name": "libswscale5",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:4.4.2-0ubuntu0.22.04.1+esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:4.4.2-0ubuntu0.22.04.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7:4.4-6ubuntu5",
        "7:4.4.1-2ubuntu1",
        "7:4.4.1-3ubuntu1",
        "7:4.4.1-3ubuntu2",
        "7:4.4.1-3ubuntu3",
        "7:4.4.1-3ubuntu5",
        "7:4.4.2-0ubuntu0.22.04.1"
      ]
    }
  ],
  "aliases": [],
  "details": "A null pointer dereference issue was discovered in \u0027FFmpeg\u0027 in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs because the function lacks check of the return value of avformat_new_stream() and triggers the null pointer dereference error, causing an application to crash.",
  "id": "UBUNTU-CVE-2022-3341",
  "modified": "2026-04-22T07:41:19Z",
  "published": "2023-01-12T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-3341"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5958-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-3341"
    }
  ],
  "related": [
    "USN-5958-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-3341"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…