# ALEA-2021:1755: new module: swig:4.0


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 18 May 2021

## What is ALEA-2021:1755?

ALEA-2021:1755 is a vulnerability in swig, published on 18 May 2021. 

### Official description

The simplified wrapper and interface generator (SWIG) is a software development utility to connect C, C++, and Objective C programs with a variety of high-level programming languages. SWIG is used to create high-level interpreted programming environments, systems integration, and as a utility for building user interfaces.

This enhancement update adds the swig:4.0 module to AlmaLinux (BZ#1853639)

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

## Which versions are affected by ALEA-2021:1755?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `swig` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.4.0+2100+4bdcb5c6 |
| `swig` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.4.0+2255+4bdcb5c6 |
| `swig` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.5.0+75+57fae376 |
| `swig-doc` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.4.0+2100+4bdcb5c6 |
| `swig-doc` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.4.0+2255+4bdcb5c6 |
| `swig-doc` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.5.0+75+57fae376 |
| `swig-gdb` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.4.0+2100+4bdcb5c6 |
| `swig-gdb` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.4.0+2255+4bdcb5c6 |
| `swig-gdb` | AlmaLinux:8 | All versions | 4.0.2-3.module_el8.5.0+75+57fae376 |

## How do I fix ALEA-2021:1755?

Upgrade to a fixed version.

## Is ALEA-2021:1755 being exploited?

There is no known exploitation of ALEA-2021:1755 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for ALEA-2021:1755 and fix it if it is affected.

What it is: ALEA-2021:1755 is a vulnerability in swig, published on 18 May 2021. 
Exploitation: There is no known exploitation of ALEA-2021:1755 in the wild and no public exploit code.

Affected product: swig. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/ALEA-2021-1755/ (Markdown: https://insights.sbomify.com/ALEA-2021-1755/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/ALEA-2021:1755

---
From sbomify Insights: https://insights.sbomify.com/ALEA-2021-1755/
Summaries are generated and may contain mistakes; the official description above is the record.
