USN-7158-1

Source
https://ubuntu.com/security/notices/USN-7158-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7158-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7158-1
Related
Published
2024-12-12T21:51:34.353382Z
Modified
2024-12-12T21:51:34.353382Z
Summary
smarty3 vulnerabilities
Details

It was discovered that Smarty incorrectly handled query parameters in requests. An attacker could possibly use this issue to inject arbitrary Javascript code, resulting in denial of service or potential execution of arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2018-25047, CVE-2023-28447)

It was discovered that Smarty did not properly sanitize user input when generating templates. An attacker could, through PHP injection, possibly use this issue to execute arbitrary code. (CVE-2024-35226)

References

Affected packages

Ubuntu:Pro:18.04:LTS / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1

Affected versions

3.*

3.1.31+20161214.1.c7d42e4+selfpack1-2
3.1.31+20161214.1.c7d42e4+selfpack1-3
3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1",
            "binary_name": "smarty3"
        }
    ]
}

Ubuntu:20.04:LTS / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1

Affected versions

3.*

3.1.33+20180830.1.3a78a21f+selfpack1-1
3.1.34+20190228.1.c9f0de05+selfpack1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1",
            "binary_name": "smarty3"
        }
    ]
}

Ubuntu:22.04:LTS / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.39-2ubuntu1.22.04.2

Affected versions

3.*

3.1.39-2
3.1.39-2ubuntu1
3.1.39-2ubuntu1.22.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.1.39-2ubuntu1.22.04.2",
            "binary_name": "smarty3"
        }
    ]
}

Ubuntu:24.10 / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.48-1ubuntu0.24.10.1

Affected versions

3.*

3.1.48-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.1.48-1ubuntu0.24.10.1",
            "binary_name": "smarty3"
        }
    ]
}

Ubuntu:24.04:LTS / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.48-1ubuntu0.24.04.1

Affected versions

3.*

3.1.48-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.1.48-1ubuntu0.24.04.1",
            "binary_name": "smarty3"
        }
    ]
}