Skip to content
Telusuri untuk mempelajari tentang produk dan solusi InterSystems, peluang karier, dan banyak lagi.

Advisory: Long Numeric Values Improperly Represented in Zen Applications

This problem affects the following products:

  • HealthShare Unified Care Record: all versions up to and including 2021.1

Consumer languages of JSON that use IEEE 754 standard double precision floats for holding numeric values while parsing (such as JavaScript) are incapable of processing values larger than 2^53-1 (9007199254740991) and may encounter overflow or underflow errors when encountering such a data stream.

As a result, Zen applications in the HealthShare 2021.1 and earlier releases may improperly represent numeric values greater than 9007199254740991 or lower than -9007199254740991.

In subsequent versions of HealthShare, the Zen jsonProvider engine automatically converts such large integers to string representations rather than raw numeric values in the JSON serialization. This enables applications that use such data to separately parse the value as appropriate for the language in question.

For example, in JavaScript, a numeric string whose value exceeds Number.MAX_SAFE_VALUE in magnitude can be parsed into an instance of BigInt rather than integer for processing within the JavaScript VM. This change has no bearing on the behavior of %DynamicAbstractObject's native %ToJSON() method, where the projection data type of scalars may be explicitly set using %DynamicObject.%Set().

This has been corrected as of version 2021.2.

Customers on HealthShare 2021.1 and earlier releases can r equest an ad hoc patch from the Worldwide Response Center (WRC) and refer DP-13783.

RELATED TOPICS

Latest Alerts & Advisories

17 April, 2025
InterSystems has addressed security vulnerabilities that impact applications using OAuth2 Client configurations on InterSystems IRIS, InterSystems IRIS for Health, HealthShare, HealthShare HealthConnect, TrakCare, Caché, and Ensemble. Remediation steps and additional guidance documentation are available from the InterSystems Worldwide Response Center (WRC).
02 April, 2025
Product & Versions Affected Explicit Requirements DP-439207 InterSystems IRIS® data platform 2024.3 (AIX) AIX installations Using JSON processing and Unicode non-Latin-1 character sets DP-439280 InterSystems IRIS 2024.3 (containers with IntegratedML) IntegratedML Containers using TensorFlow
04 Maret, 2025
This problem affects the following products:
04 Maret, 2025
This problem affects the following products: