Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-42574 PoC — Unicode 代码注入漏洞

Source
Associated Vulnerability
Title:Unicode 代码注入漏洞 (CVE-2021-42574)
Description:Unicode(通用字符集)是美国统一码联盟(Unicode Consortium)组织的一种通用字符编码标准。用于为世界上每种语言的每个字符和符号分配一个代码。 Unicode Specification 14.0版本及之前版本存在代码注入漏洞,该漏洞源于在现实某些字符时可能存在双向文本欺骗问题。
Description
A GitHub Action to find Unicode control characters using the Red Hat diagnostic tool https://access.redhat.com/security/vulnerabilities/RHSB-2021-007 to detect RHSB-2021-007 Trojan source attacks (CVE-2021-42574,CVE-2021-42694)
Readme
# Unicode Control Characters Action

A GitHub Action to find Unicode control characters using the
Red Hat diagnostic tool https://access.redhat.com/security/vulnerabilities/RHSB-2021-007
to detect RHSB-2021-007 Trojan source attacks (CVE-2021-42574,CVE-2021-42694)

## Inputs

### `args`

**Required** The script arguments documented in [src/README.txt](src/README.txt).

## Example usage

```yaml
name: Tests

on:
  push:
    branches:
      - '**'

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Run Tests
        uses: pierdipi/unicode-control-characters-action@main
        with:
          args: -d .
```
File Snapshot

[4.0K] /data/pocs/90f3b11b23be808bad617404bb78888d1f72d1be ├── [ 244] action.yml ├── [ 277] Dockerfile ├── [ 175] entrypoint.sh ├── [1.0K] LICENSE ├── [ 687] README.md ├── [4.0K] src │   ├── [7.9K] find_unicode_control2.py │   ├── [2.8K] README.txt │   └── [ 63] unicode_characters.py └── [4.0K] tests └── [ 328] run-tests.sh 2 directories, 9 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.