CVE-2021-32742
published 2021-07-09CVE-2021-32742: Vapor is a web framework for Swift. In versions 4.47.1 and prior, bug in the `Data.init(base32Encoded:)` function opens up the potential for exposing server…
PriorityP347critical9.1CVSS 3.1
AVNACLPRNUINSUCHINAH
EPSS
1.20%
64.3th percentile
Vapor is a web framework for Swift. In versions 4.47.1 and prior, bug in the `Data.init(base32Encoded:)` function opens up the potential for exposing server memory and/or crashing the server (Denial of Service) for applications where untrusted data can end up in said function. Vapor does not currently use this function itself so this only impact applications that use the impacted function directly or through other dependencies. The vulnerability is patched in version 4.47.2. As a workaround, one may use an alternative to Vapor's built-in `Data.init(base32Encoded:)`.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | vapor_vapor | >= 0 < 4.47.2 | 4.47.2 |
| samba | samba | >= 0 < 2:4.13.17~dfsg-0ubuntu1.20.04.1 | 2:4.13.17~dfsg-0ubuntu1.20.04.1 |
| samba | samba | >= 0 < 2:4.15.9+dfsg-0ubuntu0.2 | 2:4.15.9+dfsg-0ubuntu0.2 |
| vapor | vapor | <= 4.47.1 | — |
| vapor_project | vapor | < 4.47.2 | 4.47.2 |
CVSS provenance
nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash
osv·2023-06-09
CVE-2021-32742 [MEDIUM] Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash
Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash
### Impact
A bug in the `Data.init(base32Encoded:)` function opens up the potential for exposing server memory and/or crashing the server (Denial of Service) for applications where untrusted data can end up in said function. Vapor does not currently use this function itself so this only impact applications that use the impacted function directly or through other dependencies.
### Patches
This issue has been patched in 4.47.2.
### Workarounds
Use an alternative to Vapor's built-in `Data.init(base32Encoded:)`.
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [Vapor](https://github.com/vapor/vapor)
* Ask in [Discord](http://vapor.team)
GHSA
Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash
ghsa·2023-06-09
CVE-2021-32742 [MEDIUM] CWE-502 Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash
Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash
### Impact
A bug in the `Data.init(base32Encoded:)` function opens up the potential for exposing server memory and/or crashing the server (Denial of Service) for applications where untrusted data can end up in said function. Vapor does not currently use this function itself so this only impact applications that use the impacted function directly or through other dependencies.
### Patches
This issue has been patched in 4.47.2.
### Workarounds
Use an alternative to Vapor's built-in `Data.init(base32Encoded:)`.
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [Vapor](https://github.com/vapor/vapor)
* Ask in [Discord](http://vapor.team)
OSV
samba vulnerabilities
osv·2022-08-01·CVSS 6.5
CVE-2021-3670 samba vulnerabilities
samba vulnerabilities
It was discovered that Samba did not handle MaxQueryDuration when being
used in AD DC configurations, contrary to expectations. This issue only
affected Ubuntu 20.04 LTS. (CVE-2021-3670)
Luke Howard discovered that Samba incorrectly handled certain restrictions
associated with changing passwords. A remote attacker being requested to
change passwords could possibly use this issue to escalate privileges.
(CVE-2022-2031)
Luca Moro discovered that Samba incorrectly handled certain SMB1
communications. A remote attacker could possibly use this issue to obtain
sensitive memory contents. (CVE-2022-32742)
Joseph Sutton discovered that Samba incorrectly handled certain password
change requests. A remote attacker could use this issue to change passwords
of other users, resu
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-07-09
Published