Vulnerability record · OpenEuler 22.03-LTS-SP1
An update for rubygem-activerecord is now available for openEuler-22.03-LTS-SP1.
OpenEuler 22.03-LTS-SP1
What it fixes
Synopsis:
rubygem-activerecord security updateSummary:
An update for rubygem-activerecord is now available for openEuler-22.03-LTS-SP1.Description:
Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database tables and classes together for business objects, like Customer or Subscription, that can find, save, and destroy themselves without resorting to manual SQL.
A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Service.(CVE-2022-44566)
A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the annotate query method, the optimizer_hints query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.(CVE-2023-22794)Topic:
An update for rubygem-activerecord is now available for openEuler-22.03-LTS-SP1.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
HighAffected Component:
rubygem-activerecord
Manual fix · OpenEuler 22.03-LTS-SP1
sudo dnf upgrade rubygem-activerecord rubygem-activerecord-docrpm -q rubygem-activerecord rubygem-activerecord-docSources