rhsa-2021_4038
Vulnerability from csaf_redhat
Published
2021-11-01 07:44
Modified
2024-11-13 23:32
Summary
Red Hat Security Advisory: binutils security update

Notes

Topic
An update for binutils is now available for Red Hat Enterprise Linux 7.2 Advanced Update Support. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
The binutils packages provide a collection of binary utilities for the manipulation of object code in various object file formats. It includes the ar, as, gprof, ld, nm, objcopy, objdump, ranlib, readelf, size, strings, strip, and addr2line utilities. Security Fix(es): * Developer environment: Unicode's bidirectional (BiDi) override characters can cause trojan source attacks (CVE-2021-42574) The following changes were introduced in binutils in order to facilitate detection of BiDi Unicode characters: Tools which display names or strings (readelf, strings, nm, objdump) have a new command line option --unicode / -U which controls how Unicode characters are handled. Using "--unicode=default" will treat them as normal for the tool. This is the default behaviour when --unicode option is not used. Using "--unicode=locale" will display them according to the current locale. Using "--unicode=hex" will display them as hex byte values. Using "--unicode=escape" will display them as Unicode escape sequences. Using "--unicode=highlight" will display them as Unicode escape sequences highlighted in red, if supported by the output device. For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for binutils is now available for Red Hat Enterprise Linux 7.2 Advanced Update Support.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "The binutils packages provide a collection of binary utilities for the manipulation of object code in various object file formats. It includes the ar, as, gprof, ld, nm, objcopy, objdump, ranlib, readelf, size, strings, strip, and addr2line utilities.\n\nSecurity Fix(es):\n\n* Developer environment: Unicode\u0027s bidirectional (BiDi) override characters can cause trojan source attacks (CVE-2021-42574)\n\nThe following changes were introduced in binutils in order to facilitate detection of BiDi Unicode characters:\n\nTools which display names or strings (readelf, strings, nm, objdump) have a new command line option --unicode / -U which controls how Unicode characters are handled.\n\nUsing \"--unicode=default\" will treat them as normal for the tool. This is the default behaviour when --unicode option is not used.\nUsing \"--unicode=locale\" will display them according to the current locale.\nUsing \"--unicode=hex\" will display them as hex byte values.\nUsing \"--unicode=escape\" will display them as Unicode escape sequences.\nUsing \"--unicode=highlight\" will display them as Unicode escape sequences highlighted in red, if supported by the output device.\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2021:4038",
        "url": "https://access.redhat.com/errata/RHSA-2021:4038"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#moderate",
        "url": "https://access.redhat.com/security/updates/classification/#moderate"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/vulnerabilities/RHSB-2021-007",
        "url": "https://access.redhat.com/security/vulnerabilities/RHSB-2021-007"
      },
      {
        "category": "external",
        "summary": "2005819",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2005819"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4038.json"
      }
    ],
    "title": "Red Hat Security Advisory: binutils security update",
    "tracking": {
      "current_release_date": "2024-11-13T23:32:55+00:00",
      "generator": {
        "date": "2024-11-13T23:32:55+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.0"
        }
      },
      "id": "RHSA-2021:4038",
      "initial_release_date": "2021-11-01T07:44:51+00:00",
      "revision_history": [
        {
          "date": "2021-11-01T07:44:51+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-11-01T07:44:51+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-13T23:32:55+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Server AUS (v. 7.2)",
                "product": {
                  "name": "Red Hat Enterprise Linux Server AUS (v. 7.2)",
                  "product_id": "7Server-7.2.AUS",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_aus:7.2::server"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "binutils-0:2.23.52.0.1-55.el7_2.4.src",
                "product": {
                  "name": "binutils-0:2.23.52.0.1-55.el7_2.4.src",
                  "product_id": "binutils-0:2.23.52.0.1-55.el7_2.4.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/binutils@2.23.52.0.1-55.el7_2.4?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
                "product": {
                  "name": "binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
                  "product_id": "binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/binutils@2.23.52.0.1-55.el7_2.4?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64",
                "product": {
                  "name": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64",
                  "product_id": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/binutils-devel@2.23.52.0.1-55.el7_2.4?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
                "product": {
                  "name": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
                  "product_id": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/binutils-debuginfo@2.23.52.0.1-55.el7_2.4?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
                "product": {
                  "name": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
                  "product_id": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/binutils-devel@2.23.52.0.1-55.el7_2.4?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
                "product": {
                  "name": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
                  "product_id": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/binutils-debuginfo@2.23.52.0.1-55.el7_2.4?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "binutils-0:2.23.52.0.1-55.el7_2.4.src as a component of Red Hat Enterprise Linux Server AUS (v. 7.2)",
          "product_id": "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.src"
        },
        "product_reference": "binutils-0:2.23.52.0.1-55.el7_2.4.src",
        "relates_to_product_reference": "7Server-7.2.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "binutils-0:2.23.52.0.1-55.el7_2.4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.2)",
          "product_id": "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.x86_64"
        },
        "product_reference": "binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
        "relates_to_product_reference": "7Server-7.2.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686 as a component of Red Hat Enterprise Linux Server AUS (v. 7.2)",
          "product_id": "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686"
        },
        "product_reference": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
        "relates_to_product_reference": "7Server-7.2.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.2)",
          "product_id": "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64"
        },
        "product_reference": "binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
        "relates_to_product_reference": "7Server-7.2.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686 as a component of Red Hat Enterprise Linux Server AUS (v. 7.2)",
          "product_id": "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686"
        },
        "product_reference": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
        "relates_to_product_reference": "7Server-7.2.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 7.2)",
          "product_id": "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64"
        },
        "product_reference": "binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64",
        "relates_to_product_reference": "7Server-7.2.AUS"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Nicholas Boucher and Ross Anderson"
          ],
          "organization": "University of Cambridge"
        }
      ],
      "cve": "CVE-2021-42574",
      "cwe": {
        "id": "CWE-838",
        "name": "Inappropriate Encoding for Output Context"
      },
      "discovery_date": "2021-09-20T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2005819"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in the way Unicode standards are implemented in the context of development environments, which have specialized requirements for rendering text. An attacker could exploit this to deceive a human reviewer by creating a malicious patch containing well placed BiDi characters. The special handling and rendering of those characters can be then used in an attempt to hide unexpected and potentially dangerous behaviour from the reviewer.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "environment: Unicode\u0027s bidirectional (BiDi) override characters can cause trojan source attacks",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This is a flaw with the way Unicode standards are implemented in the context of development environments, which have specialized requirements for rendering text. This is not a flaw in Red Hat products.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.src",
          "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
          "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
          "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
          "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
          "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-42574"
        },
        {
          "category": "external",
          "summary": "RHBZ#2005819",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2005819"
        },
        {
          "category": "external",
          "summary": "RHSB-2021-007",
          "url": "https://access.redhat.com/security/vulnerabilities/RHSB-2021-007"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-42574",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-42574"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-42574",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42574"
        },
        {
          "category": "external",
          "summary": "https://trojansource.codes/",
          "url": "https://trojansource.codes/"
        },
        {
          "category": "external",
          "summary": "https://www.lightbluetouchpaper.org/2021/11/01/trojan-source-invisible-vulnerabilities/",
          "url": "https://www.lightbluetouchpaper.org/2021/11/01/trojan-source-invisible-vulnerabilities/"
        },
        {
          "category": "external",
          "summary": "https://www.unicode.org/reports/tr36/#Bidirectional_Text_Spoofing",
          "url": "https://www.unicode.org/reports/tr36/#Bidirectional_Text_Spoofing"
        },
        {
          "category": "external",
          "summary": "https://www.unicode.org/reports/tr39/",
          "url": "https://www.unicode.org/reports/tr39/"
        }
      ],
      "release_date": "2021-11-01T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2021-11-01T07:44:51+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.src",
            "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
            "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
            "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
            "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
            "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2021:4038"
        },
        {
          "category": "workaround",
          "details": "This issue can be mitigated by ensuring code commits get a proper review. All new commits can also be scanned for the presence of BiDi characters before accepting the commit.",
          "product_ids": [
            "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.src",
            "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
            "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
            "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
            "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
            "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.src",
            "7Server-7.2.AUS:binutils-0:2.23.52.0.1-55.el7_2.4.x86_64",
            "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.i686",
            "7Server-7.2.AUS:binutils-debuginfo-0:2.23.52.0.1-55.el7_2.4.x86_64",
            "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.i686",
            "7Server-7.2.AUS:binutils-devel-0:2.23.52.0.1-55.el7_2.4.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "environment: Unicode\u0027s bidirectional (BiDi) override characters can cause trojan source attacks"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.